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 11740 Oct 14, 2000, 11:53 PM
Thread Re: changing auto-email subject line????
nduque 11303 Oct 15, 2000, 2:37 AM
Thread Re: changing auto-email subject line????
gossy 11275 Oct 15, 2000, 4:33 PM
Thread Re: changing auto-email subject line????
nduque 11361 Oct 15, 2000, 5:57 PM
Thread Re: changing auto-email subject line????
gossy 11263 Oct 15, 2000, 10:37 PM
Post Re: changing auto-email subject line????
nduque 11179 Oct 16, 2000, 12:58 AM
Thread Re: oh and i forgot,???
gossy 11200 Oct 15, 2000, 10:39 PM
Post Re: oh and i forgot,???
nduque 11179 Oct 16, 2000, 1:10 AM
Thread Re: changing auto-email subject line????
gossy 11195 Oct 15, 2000, 11:17 PM
Thread Re: changing auto-email subject line????
nduque 11244 Oct 16, 2000, 1:15 AM
Thread Re: very good info again, thanks
gossy 11192 Oct 16, 2000, 4:36 PM
Thread Re: very good info again, thanks
nduque 11173 Oct 17, 2000, 12:32 AM
Thread Re: very good info again, thanks
gossy 11279 Oct 17, 2000, 2:30 AM
Thread Re: very good info again, thanks
nduque 11252 Oct 17, 2000, 3:13 AM
Thread Re: very good info again, thanks
gossy 11175 Oct 17, 2000, 8:30 PM
Thread Re: very good info again, thanks
nduque 11232 Oct 17, 2000, 11:00 PM
Thread got your site and one more question
gossy 11180 Oct 18, 2000, 2:08 AM
Thread Re: got your site and one more question
nduque 11193 Oct 18, 2000, 3:14 AM
Thread yep, works, thanks once more.
gossy 11167 Oct 18, 2000, 3:20 PM
Thread Re: yep, works, thanks once more.
nduque 11234 Oct 18, 2000, 11:39 PM
Thread Re: misunderstanding
gossy 5719 Oct 19, 2000, 1:31 AM
Post Re: misunderstanding
nduque 5614 Oct 19, 2000, 4:56 AM
Thread Re: search result display
gossy 5634 Oct 19, 2000, 2:00 AM
Post Re: search result display
nduque 5640 Oct 19, 2000, 5:13 AM
Thread search results line up???
gossy 11196 Oct 18, 2000, 3:25 PM
Thread Re: search results line up???
nduque 11217 Oct 18, 2000, 11:47 PM
Thread Re: search results line up???
gossy 5710 Oct 19, 2000, 1:24 AM
Thread Re: search results line up???
nduque 5642 Oct 19, 2000, 4:25 AM
Post last question
gossy 5608 Oct 19, 2000, 2:26 PM
Thread yes, there is already that question!
gossy 11272 Oct 17, 2000, 10:54 PM
Post Re: yes, there is already that question!
nduque 11144 Oct 18, 2000, 12:34 AM
Thread @search_fields = (1,2,5,6,7); =no change
gossy 11212 Oct 18, 2000, 5:10 PM
Thread Re: @search_fields = (1,2,5,6,7); =no change
nduque 5783 Oct 18, 2000, 11:55 PM
Thread Re: @search_fields = (1,2,5,6,7); =no change
gossy 5741 Oct 19, 2000, 1:44 AM
Post Re: @search_fields = (1,2,5,6,7); =no change
nduque 5645 Oct 19, 2000, 5:00 AM
Thread Re: yes, it';s the dam <p>'s
gossy 5640 Oct 19, 2000, 2:30 AM
Post Re: yes, it';s the dam <p>'s
nduque 5645 Oct 19, 2000, 5:21 AM
Thread found something..
gossy 5598 Oct 19, 2000, 2:51 AM
Post Re: found something..
nduque 5632 Oct 19, 2000, 5:23 AM