Page 1 of 1

Remote but not local error

Posted: Sun Dec 07, 2008 9:44 am
by tigerbaiter
I am getting this error when I try to make an SMTP connection to a remote host...

Code: Select all

<b>Fatal error</b>:  Uncaught exception 'Swift_ConnectionException' with message 'There was a problem reading line 1 of an SMTP response. The response so far was:<br />[].  It appears the connection has died without saying goodbye to us! Too many emails in one go perhaps? (fsockopen: #0) '
I can telnet to port 25 of the server no problem and enter SMTP commands. I can change the remote server to localhost and my local EXIM accepts the mail fine.

Any thoughts?

Re: Remote but not local error

Posted: Tue Dec 09, 2008 2:15 pm
by tigerbaiter
My fault - a firewall problem.

Thanks for the brilliant library Chris. If only all code could be like this...

Re: Remote but not local error

Posted: Tue Dec 09, 2008 5:23 pm
by Chris Corbyn
Glad you worked it out :)