Gossamer Forum
Quote Reply
SMTP Problem
Hi,

For some reason I'm getting an error message everytime I validate a Link:

CGI ERROR
==========================================
Error Message : Unable to send addition message. Reason: SMTP: connect() failed. reason: Address family not supported by protocol family
Script Location : admin.cgi
Perl Version : 5.00503

In the config file I have set it so that it uses SMTP and I know I have the right address for my mail cause I use it In my webmail script. I'm stumped...=)

-Cryptic

Quote Reply
Re: SMTP Problem In reply to
Please post your $db_smtp_server variable configuration in this Thread. We are in the dark without seeing how you have configured this variable!

Regards,

Eliot Lee
Quote Reply
Re: SMTP Problem In reply to
oh sorry heh...forgot to do that:

$db_smtp_server = 'mail.digitalaggression.com';

Quote Reply
Re: SMTP Problem In reply to
Well...have you tried the following:

Code:

$db_smtp_server = 'digitalaggression.com';


Regards,


Eliot Lee
Quote Reply
Re: SMTP Problem In reply to
Well I tried that but it didn't work...I tried the Send Mail path using different popular paths that i know. I finally found one that worked for my cgi. Thanks anyways =)

Quote Reply
Re: SMTP Problem In reply to
In Reply To:
I tried the Send Mail path using different popular paths that i know.
Won't work in Windows Servers. You need to have a Windows based sendmail program, including Blat Mail and Win Mail, installed by your hosting company.

You need to set EITHER $db_mail_path OR $db_smtp_server BUT NOT BOTH.

If you are using SMTP, then your settings should look as follows:

Code:

# $db_mail_path = '';
$db_smtp_server = 'yourdomain.com';


At this point, I would recommend contacting your hosting company or read the online documentation at your hosting company's site to find out HOW to set-up SMTP variables in the mail portion of the LINKS scripts.

Regards,

Eliot Lee