Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Admin E-mail Notification?

Quote Reply
Admin E-mail Notification?
How does the Links 2.0 admin get a e-mail notification for addtions and modifications? I looked in links.cfg and didn't see any reference. If Links 2.0 does this by default then I have a problem. The other e-mail features work fine.

I search All Forums for E-mail Notification on all Dates and only got stuff for DBman. Also checked Resources.

TIA

Quote Reply
Re: Admin E-mail Notification? In reply to
It is automatic...look at the &send_email codes in the add.cgi file.

What do you want to do with the notification? Turn it off??
What?

Regards,

Eliot Lee
Quote Reply
Re: Admin E-mail Notification? In reply to
I did a Find Differences using my text editor using a virgin add.cgi against the installed one. Resluts:

Comments: $in{'Comments'}

I did install the Comments mod.
In Reply To:
What do you want to do with the notification? Turn it off??
What?
I want the notification.

Regards,

Keith


Quote Reply
Re: Admin E-mail Notification? In reply to
Well, all you have to do is add

Code:

Comments: $in{'Comments'}


in the sub send_email routine where all the other fields are located.

Tongue

Regards,

Eliot Lee
Quote Reply
Re: Admin E-mail Notification? In reply to
I know. I was just stating the fact that this was the only differences between a virgin copy and my installed copy of add.cgi.

Anyway, the problem is the admin (me) is not getting the notification. The other e-mail function work fine. I went through links.cfg and double chack path statements.

Regards,
Keith

Quote Reply
Re: Admin E-mail Notification? In reply to
Fixed it. In links.cfg
was:
$db_admin_email = 'admin\@some_domain.com';

to:
$db_admin_email = 'admin@some_doman.com';

Not sure why I had put the character there in the first place but it works now.

Thanks for your help!

Keith

Quote Reply
Re: Admin E-mail Notification? In reply to
You're welcome.

Regards,

Eliot Lee