Gossamer Forum
Quote Reply
email errors
I am scared to post this in a way, as I am sure i will get shot down by those certain few.

But when i go and add a link, all is well, I then goto admin.cgi and validate the link and i get this error.
I know i have set my email address in links.cfg so why do i get his error:-

CGI ERROR
==========================================
Error Message : Unable to init mailer! Reason: Sendmail was not defined or not found: /usr/sbin/sendmail
Script Location : /web/www.xxxxx.org/cgi-bin/links/admin/admin.cgi
Perl Version : 5.006

here is my links.cfg

# 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 = 'webmaster@theultimateworld.net';



Quote Reply
Re: email errors In reply to
You obviously use a wrong sendmail path in links.cfg:

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

or similar....

Thomas
http://links.japanref.com
Quote Reply
Re: email errors In reply to
Check your send mail configuration.

Quote Reply
Re: email errors In reply to
sorry i just editted the above post as you were posting the following.

I have got that part defined,

any other ideas

Quote Reply
Re: email errors In reply to
Sorry all, I managed to fix the fault myself, responsiveweb.com who I host with does not support the sendmail command, so I had to use the SMTP server, all works fine.

But thank you anyway to the people who posted and tried to help out