when I try to send mail using this code:

mail("[EMAIL PROTECTED]","TEST MAIL","TESTING MAIL");

I get this error:

Warning: mail() [function.mail]: Failed to connect to mailserver at 
"smtp.tsanalytics.com" port 25, verify your "SMTP" and "smtp_port" setting 
in php.ini or use ini_set() in C:\Inetpub\wwwroot\intranet\test.php on line 
4


my settings in php.ini are
SMTP = "smtp.tsanalytics.com"
smtp_port = 25

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to