Page 1 of 1

error messages

Posted: Thu Sep 06, 2007 6:05 am
by roscoe
Fatal error:
Uncaught Error of type [Swift_Connection_Exception] with message [The SMTP connection failed to start [localhost:25]: fsockopen returned Error Number 110 and Error String 'Connection timed out']
@0 sendEmail() in /home/arsenal/public_html/maillist-admin.php on line 43
@1 Swift::Swift() in /home/arsenal/public_html/maillist-admin.php on line 182
@2 Swift::connect() in /home/arsenal/public_html/mailoutattach/mylib/Swift.php on line 109

in /home/arsenal/public_html/mailoutattach/mylib/Swift/Errors.php on line 99


host says no problem with fsockopen or smtp

This was working, any ideas?

Thanx

Posted: Thu Sep 06, 2007 7:29 am
by Chris Corbyn
This is going to fail just like Swift does:

Code: Select all

$sock = fsockopen("your-server.com", 25, $errno, $errstr, 30);
var_dump($sock);
var_dump($errstr);
var_dump($errno);
Take that back to your host and ask why it doesn't work if they say they support fsockopen(). Some hosts only support fsockopen() to port 80.

Posted: Tue Oct 16, 2007 4:57 am
by EoN
I just started getting the same error message as well. This was working perfectly last night! I'm not sure what caused this to start happening? Any ideas? I have been doing a lot of tests - is it possible it's blocking because it thinks we've spammed or something?

Posted: Tue Oct 16, 2007 5:19 am
by chuckl
Typically means the IP address port or mailserver name is wrong, the port is blocked or the mail server is down. Telnet to mailserver.domain.com mailport e.g. telnet mymailserver.mydomain.com 25, and see if you get an SMTP response.