Gossamer Forum
Home : Products : Links 2.0 : Discussions :

"Your link has been added!" email address error

Quote Reply
"Your link has been added!" email address error
After a link has been validated, the system sends an email to the user advising them of such. However, the return email address (the webmaster's) is formatted incorrectly.

The return email address ($db_admin_email) gets printed with the @ sign escaped. Eg. webmaster\@mysite.com

In links.cfg, the $db_admin_email="webmaster\@mysite.com" with the @ escaped like is required in Perl 5.

Has anyone come across this before and can you advise how to correct it?

Thanks,

Dan O.
Quote Reply
Re: "Your link has been added!" email address error In reply to
you should always use 's to do email

so

$db_admin_email = 'webmaster@domain.com';

you don't need to escape the @

jerry

[This message has been edited by widgetz (edited October 17, 1999).]
Quote Reply
Re: "Your link has been added!" email address error In reply to
 
Thanks Jerry, I corrected my mistake and all is working as expected.

I didn't realize that the escape wasn't needed when using single quotes. Every other script I've installed specifically said to escape it. I have also encountered numerous error messages from Perl saying ALL @'s must be escaped. Live and learn. >8~}

Dan O.