Sure.
A better way to do this is putting a email address path in links.cfg, so you can call it by any file.
1. In links.cfg find the following. Actually I have four but will be more.
# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'info@inmacau.com';
$db_deadlink_email = 'deadlink@inmacau.com';
$db_webmaster_email = 'webmaster@inmacau.com';
$db_nduque_email = 'nduque@inmacau.com';
2. At the end of each cgi file you'll find the following under sub send_email routine and make the changes, if you want to be sure if it's there an email path change $db_admin_email or &cgierr("Admin Email Address Not Defined in config file!"); to $db_whateveryouset_email or &cgierr("Admin Email Address Not Defined in config file!");
like this.
sub send_email {
# --------------------------------------------------------
# Check to make sure that there is an admin email address defined.
change this from:
$db_admin_email or &cgierr("Admin Email Address Not Defined in config file!");
to:
$db_webmaster_email or &cgierr("Webmaster Email Address Not Defined in config file!");
and change this from:
my $to = $db_admin_email;
to:
my $to = $db_whateveryouset_email;
That's all,
Regards,
Nuno Duque
--------------------
Macau Search Engine
inmacau.com
A better way to do this is putting a email address path in links.cfg, so you can call it by any file.
1. In links.cfg find the following. Actually I have four but will be more.
# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'info@inmacau.com';
$db_deadlink_email = 'deadlink@inmacau.com';
$db_webmaster_email = 'webmaster@inmacau.com';
$db_nduque_email = 'nduque@inmacau.com';
2. At the end of each cgi file you'll find the following under sub send_email routine and make the changes, if you want to be sure if it's there an email path change $db_admin_email or &cgierr("Admin Email Address Not Defined in config file!"); to $db_whateveryouset_email or &cgierr("Admin Email Address Not Defined in config file!");
like this.
sub send_email {
# --------------------------------------------------------
# Check to make sure that there is an admin email address defined.
change this from:
$db_admin_email or &cgierr("Admin Email Address Not Defined in config file!");
to:
$db_webmaster_email or &cgierr("Webmaster Email Address Not Defined in config file!");
and change this from:
my $to = $db_admin_email;
to:
my $to = $db_whateveryouset_email;
That's all,
Regards,
Nuno Duque
--------------------
Macau Search Engine
inmacau.com