I'm running Windows 2003 Server + IIS6 + PHP.
Now I've tried to send mail with php and got the following error:
Code: Select all
Warning: mail(): Failed to connect to mailserver at "e;localhost"e; port 25,
verify your "e;SMTP"e; and "e;smtp_port"e; setting in php.ini or
use ini_set() in c:\inetpub\wwwroot\testmail.php on lineAnd SMTP server does work (I can send email throuht it, but not with php).
I also tried to change SMTP in php.ini to my ISP's SMTP-server.
In that case the error is the same but instead "localhost" goes "smtp.provider.net". Provider's SMTP works too, and I can send email through it from this machine (that hosts IIS and PHP).
May it be the problem of Win2003 Security or something else?
Could anybody tell me something about this problem?
Thank you very much.