Page 1 of 1

Uncaught Error of type [swift_connectionexception]

Posted: Tue Sep 22, 2009 8:59 am
by davzo
Hello

I am not a programmer myself but since the programmer who used the swift mailer in the script I am using is not responding to my help requests anymore, I hope to find some help in here :-)

the version used is Swift Mailer Version 3.3.2

I have an autoresponder script installed on a dedicated server (not limited to the number of emails sent per hour)
and it use PHP mailer... when the crons of the schedueled mailngs are executed most of the time they go just fine
but in some cases the execution is stopped and it gives the error below:

Fatal error:
Uncaught Error of type [swift_connectionexception] with message [Sending failed using mail() as PHP's default mail() function returned boolean FALSE.]
@0 swift::send() in /home/username/public_html/crons/scheduler.php on line 449
@1 swift::notifylisteners() in /home/username/public_html/ar/includes/Swift/lib/Swift.php on line 523
@2 swift_plugin_mailsend::sendperformed() in /home/username/public_html/ar/includes/Swift/lib/Swift.php on line 182

in /home/username/public_html/ar/includes/Swift/lib/Swift/Errors.php on line 99

Can someone advice please what can be the reason for this?
as I said, there are times it works fine and it sends to 2500 addresses at once and sometimes
it stopes after 190 addresses or so...

Thanks
David