IIS 7 and Above
error 10060, time out.
Last post Mar 23, 2011 02:11 PM by thelittletree
Mar 22, 2011 02:19 PM|thelittletree|LINK
To anyone who can help me out.
The original error I had was that PHP MAIL() did not send any mail.
I've had at that moment a Windows Server2008R2 x64 server with:
- Server software ofcourse;
- PHP 5.2 x64
- mysql x64
- Domain controller.
- The DNS controller i didn't install becaurse i've one inside the router.
After the error accuired i started troubleshooting with WWW/google assistance.
- SMTP server(IIS 6) , but there was no icon in IIS 7 with the name SMTP e-mail.
Again searching the net and find out that I needed ASP.net
So I installed with WPI:
- IIS 7 recommended configuration and IIS 7.5 express.
I configured the virtual SMTP (IIS6) server with 'access' 'connection' and 'relay' wth 127.0.0.1 and 192.168.1.6 (localhost)(as suggested in another part of this forum)
SMTP E-mail (IIS7) with localhost and port 25.
After this confguration e-mail was, according to PHP, 'send'. But i reality it queued up at mailroot queue.
Again on the internet i found a SMTP test program from Microsoft called "SmtpDiag'.
It's reporting back that:
SOA serial number match: Passed
Both TCP and UDP queries succeeded, Local DNS test passed.
Both TCP and UDP queries succeeded, Remote DNS test passed.
Checking MX servers listed for (emailadres)@gmail.com
Connecting to the server failed. Error: 10600. (acording to the WWW, it's a timeout).
Where did I missed somthing, i've working on this problem for the last 3 nights. I don't now where to look and there is no info on the net.
Who can help me with this?
Mar 22, 2011 02:54 PM|Madness80|LINK
I'm not familiar with PHP but I suspect that it is very similar tp ASP where you have specify how the email is to be sent. If you have SMTP installed locally you can just use drop folder. Or you can connect to a remote SMTP service. But you need to specify
the name of the remote server.
Mar 22, 2011 06:07 PM|thelittletree|LINK
Hallo madnees 80,
thx for the respons. But i think the problem lays not in the PHP code. I used a very basic mail code for debugging purposes. The PHP code is OK. The problem is not the PHP but the SMTP. Any more tips?
Mar 23, 2011 02:11 PM|thelittletree|LINK
It seems that my ISP blocks port:25.
So i deinstalled SMTP server and IIS7.5 express and added in the PHP script, before the MAIL():
Now it works perfect