Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Error in admin email format

Quote Reply
Error in admin email format
Sorry for my english :-)
The sript is very fine but i got a problem with the admin email format. When I validate a link, the user receive a mail with From : admin@mydomain.com@myisp.com ???? My ISP tell me to use /USR/SBIN/SENDMAIL with "-t" but it change nothing ???
Thanks.

Quote Reply
Re: Error in admin email format In reply to
Check your $db_admin_email variable in the links.cfg file.

Regards,

Eliot Lee
Quote Reply
Re: Error in admin email format In reply to
In my links.cfg i have :

# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/sbin/sendmail'; $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'admin\@okazracing.com';

and when a user receive a confirmation email the email is :
From : admin@okazracing.com@nfrance.com

With other CGI scripts, sendmail works fine...
Please help....


Quote Reply
Re: Error in admin email format In reply to
Change the admin variable to the following:

Code:

$db_admin_email = 'admin@okazracing.com';


Remember that Links uses Mailer.pm which is a different SENDMAIL module than what you are using in other cgi scripts.

Regards,

Eliot Lee
Quote Reply
Re: Error in admin email format In reply to
Thanks for the solution !
It works fine. Great :-)

RodWolf