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
error messages
Moderators: Chris Corbyn, General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
This is going to fail just like Swift does:
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.
Code: Select all
$sock = fsockopen("your-server.com", 25, $errno, $errstr, 30);
var_dump($sock);
var_dump($errstr);
var_dump($errno);