Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: oh and i forgot,???

Quote Reply
Re: oh and i forgot,??? In reply to
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
Subject Author Views Date
Thread changing auto-email subject line???? gossy 11593 Oct 14, 2000, 11:53 PM
Thread Re: changing auto-email subject line????
nduque 11160 Oct 15, 2000, 2:37 AM
Thread Re: changing auto-email subject line????
gossy 11132 Oct 15, 2000, 4:33 PM
Thread Re: changing auto-email subject line????
nduque 11218 Oct 15, 2000, 5:57 PM
Thread Re: changing auto-email subject line????
gossy 11120 Oct 15, 2000, 10:37 PM
Post Re: changing auto-email subject line????
nduque 11036 Oct 16, 2000, 12:58 AM
Thread Re: oh and i forgot,???
gossy 11056 Oct 15, 2000, 10:39 PM
Post Re: oh and i forgot,???
nduque 11035 Oct 16, 2000, 1:10 AM
Thread Re: changing auto-email subject line????
gossy 11052 Oct 15, 2000, 11:17 PM
Thread Re: changing auto-email subject line????
nduque 11101 Oct 16, 2000, 1:15 AM
Thread Re: very good info again, thanks
gossy 11049 Oct 16, 2000, 4:36 PM
Thread Re: very good info again, thanks
nduque 11030 Oct 17, 2000, 12:32 AM
Thread Re: very good info again, thanks
gossy 11136 Oct 17, 2000, 2:30 AM
Thread Re: very good info again, thanks
nduque 11109 Oct 17, 2000, 3:13 AM
Thread Re: very good info again, thanks
gossy 11031 Oct 17, 2000, 8:30 PM
Thread Re: very good info again, thanks
nduque 11089 Oct 17, 2000, 11:00 PM
Thread got your site and one more question
gossy 11037 Oct 18, 2000, 2:08 AM
Thread Re: got your site and one more question
nduque 11049 Oct 18, 2000, 3:14 AM
Thread yep, works, thanks once more.
gossy 11023 Oct 18, 2000, 3:20 PM
Thread Re: yep, works, thanks once more.
nduque 11091 Oct 18, 2000, 11:39 PM
Thread Re: misunderstanding
gossy 5586 Oct 19, 2000, 1:31 AM
Post Re: misunderstanding
nduque 5481 Oct 19, 2000, 4:56 AM
Thread Re: search result display
gossy 5501 Oct 19, 2000, 2:00 AM
Post Re: search result display
nduque 5507 Oct 19, 2000, 5:13 AM
Thread search results line up???
gossy 11052 Oct 18, 2000, 3:25 PM
Thread Re: search results line up???
nduque 11074 Oct 18, 2000, 11:47 PM
Thread Re: search results line up???
gossy 5577 Oct 19, 2000, 1:24 AM
Thread Re: search results line up???
nduque 5508 Oct 19, 2000, 4:25 AM
Post last question
gossy 5475 Oct 19, 2000, 2:26 PM
Thread yes, there is already that question!
gossy 11128 Oct 17, 2000, 10:54 PM
Post Re: yes, there is already that question!
nduque 11001 Oct 18, 2000, 12:34 AM
Thread @search_fields = (1,2,5,6,7); =no change
gossy 11068 Oct 18, 2000, 5:10 PM
Thread Re: @search_fields = (1,2,5,6,7); =no change
nduque 5649 Oct 18, 2000, 11:55 PM
Thread Re: @search_fields = (1,2,5,6,7); =no change
gossy 5606 Oct 19, 2000, 1:44 AM
Post Re: @search_fields = (1,2,5,6,7); =no change
nduque 5511 Oct 19, 2000, 5:00 AM
Thread Re: yes, it';s the dam <p>'s
gossy 5506 Oct 19, 2000, 2:30 AM
Post Re: yes, it';s the dam <p>'s
nduque 5512 Oct 19, 2000, 5:21 AM
Thread found something..
gossy 5465 Oct 19, 2000, 2:51 AM
Post Re: found something..
nduque 5499 Oct 19, 2000, 5:23 AM