Page 1 of 1

Apache/PHP/SendMail Not working

PostPosted: 29. May 2008 17:16
by NeilSwartz
Today with their infinite wisdom Comcast changed my smtp port from 25 to 587. Their security dept. got Outlook Express working.

Now I am unable to send localhost email. I've already changed SMTP_PORT in php.ini to 587 and restarted Apache, but I can't send email. Inside the debug.log file is the line:

08/05/29 10:47:32 ** Connecting to smtp.comcast.net:25.

I have no idea why it is still picking up port 25 since phpinfo says the port is 587 and there is no reference to port in sendmail.ini.

Can any one help???

PostPosted: 30. May 2008 01:43
by Donat76

PostPosted: 30. May 2008 02:20
by NeilSwartz
It turns out that my sendmail.ini should have had a SMTP_PORT line in it. Once I added smtp_port=587 to it the problem was solved.