Diana Castillo wrote:
when I try to send mail using this code:
mail("dcastillo@xxxxxxxxxxxxxxx","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
I had this problem and I found that changing the port to 26 instead of
25 fixed all SMTP problems that I had.
Maybe this will help.
-Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php