Gossamer Forum
Home : Products : Links 2.0 : Discussions :

nph-email error

Quote Reply
nph-email error
Need help : receive CGI ERROR :
Error Message : Unable to init mailer! Reeason: Sendmail was not defined or not found: /usr/sbin/sendmail/
Script Location : nph-email.cgi
Perl Version : 5.00502

- I have set in links.cgf :

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

- SO in my eyes - sendmail is defined. Whats
wrong , what can I do?
Quote Reply
Re: nph-email error In reply to
1) Make sure that you have the correct Sendmail path in your server (double check with your ISP/Hosting Company). And BTW, you should NOT have a trailing slash at the end of /sendmail.

It should look like the following:

$db_mail_path = '/usr/sbin/sendmail';

2) If you do have the correct path and it still does not work, then change your sendmail configuration to the following:

$db_mail_path = '|/usr/sbin/sendmail -t eoq';


$db_mail_path = '|/usr/sbin/sendmail -t';


Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums