another strange crash after only a few emails

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
coderb
Forum Newbie
Posts: 7
Joined: Mon Mar 10, 2008 1:10 pm

another strange crash after only a few emails

Post by coderb »

Hi All,

after successfully sending 5 of 12 emails, got a strange crash:

Fatal error:
Uncaught Error of type [swift_connectionexception] with message [The SMTP connection did not allow the command ' .' to be sent. (fsockopen: #0) ]
@0 swift::send() in /Library/WebServer/Documents/adco/flow/13_1_emailx.php on line 197
@1 swift::command() in /usr/include/php/SWIFT/Swift.php on line 480

in /usr/include/php/SWIFT/Swift/Errors.php on line 99

Please can someone help me here, don't know what else to try, thanks,
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: another strange crash after only a few emails

Post by Chris Corbyn »

Sounds like the SMTP server closed the connection on the script. fsockopen() didn't get a response back from the server withing the required timeout (10 seconds by default I think).
Post Reply