Error 10060 while sending but no exception thrown
Posted: Fri Aug 31, 2007 9:25 am
Hi all.
Thanks d11wtq for the script. It works fine now after some difficulties. But if I try to use it in my university network it say "e-mails sent", but no e-mails are sent. It's clear, that I'm not able to send over another SMTP server but the university one as it is restricted. But the script does not throw an error but continues to send. I activated logging and it shows the following:
As you see, the connection fails (correctly), but Swift continues to send mails (that ARE NOT sent).
I'm using Swift 3.3.1 for PHP4 on PHP 5.2.2 (for compatibility reasons).
What's going wrong here?
Thanks d11wtq for the script. It works fine now after some difficulties. But if I try to use it in my university network it say "e-mails sent", but no e-mails are sent. It's clear, that I'm not able to send over another SMTP server but the university one as it is restricted. But the script does not throw an error but continues to send. I activated logging and it shows the following:
Code: Select all
++ Log level changed to 4 ++ Trying to connect... ++ Trying to connect to SMTP server at 'mail.xxxxx.net:25 !! The SMTP connection failed to start [mail.xxxxx.net:25]: fsockopen returned Error Number 10060 and Error String 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ' >> ++ Message sent to 1/1 recipients ++ Closing down SMTP connection.I'm using Swift 3.3.1 for PHP4 on PHP 5.2.2 (for compatibility reasons).
What's going wrong here?