'There was a problem reading line 1 of an SMTP response.

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
S.Merlin
Forum Newbie
Posts: 3
Joined: Wed Aug 27, 2008 12:37 am

'There was a problem reading line 1 of an SMTP response.

Post by S.Merlin »

'There was a problem reading line 1 of an SMTP response. The response so far was:<br />[]. It

Why I am getting the above error message in swiftmailer?

could you help me out?

Please help me!!
billgoodyear
Forum Newbie
Posts: 16
Joined: Fri Apr 20, 2007 11:00 am

Re: 'There was a problem reading line 1 of an SMTP response.

Post by billgoodyear »

This has just started happening to me. Im now using try catch blocks - which i should have done before to catch the issue and retry.

Im using Swiftmailer V3.3.3 PHP 5 and the $swift->batchsend method. It seems that for some reason swift is either not reestablishing dropped connections, or the default number of connection retrys is being exceeded. Is there an easy way to increase the number of connection retries?
andrei.fratu
Forum Newbie
Posts: 2
Joined: Sun Sep 07, 2008 3:14 am

Re: 'There was a problem reading line 1 of an SMTP response.

Post by andrei.fratu »

I keep getting the same error too. What puzzles me is that it only seems to happen some times. I've tried to use a catch block to do $swift->disconnect() and then $swift->connect() again, but it doesn't seem to work.
Post Reply