Warning fsockopen unable to connect
Posted on 2006-05-01
I am attempting to use a "once functional" php mail script from my linux box on our new windows server. Low and behold, and much to my surprise, it's no longer easy and operable :)
1. Windows 2000 Server
2. Exchange Server
3. PHP Version 126.96.36.199
I am getting kicked back an fsockopen warning telling me it cannot connect to our exchange mail server on port 25. I've checked the php.ini file for the correct settings and all is in place. The windows server sits on the DMZ and connects through a PIX firewall which my staff has confirmed is not blocking or preventing communication with the mail server.
I did a test usng soupermail (cgi program) and it had no conflicts with sending mail. Now I know what your thinking: "Why not just use Soupermail if its working" well... I like PHP and its easier than creating 14 config files and complementary templates for each form in my site.
Any help is appreciated,