Using phpmailer to send out newsletter- Pls help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
anna_cm
Forum Newbie
Posts: 5
Joined: Fri Apr 20, 2007 9:04 pm

Using phpmailer to send out newsletter- Pls help

Post by anna_cm »

Hi All,

I am using Phpmailer to send a Html newsletter to 950 subscribers, fetching their id's from database. But my problem is that it is not sending to all, dropping some subscriber's id. Showing different sent rates on different trials.

I have provided sleep() for 5 mins. Still the same result.

Is this the problem of smtp overload or any other time out? Pls help!

anna
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Have a look at Swift Mailer. It's got more useful tools for dealing with load balancing, plus it's still in development ;)

http://www.swiftmailer.org/
anna_cm
Forum Newbie
Posts: 5
Joined: Fri Apr 20, 2007 9:04 pm

Post by anna_cm »

Hi,

I tried swiftmailer but I am getting the following error:

Fatal error:
Uncaught Error of type [swift_badresponseexception] with message [Expected response code(s) [354] but got response [451 qqt failure (#4.3.0)]]
@0 swift::send() in /usr/home/boxw11/www/htdocs/newsletter/System/bach_bulk.php on line 36
@1 swift::command() in /usr/home/boxw11/www/htdocs/newsletter/System/swift/Swift.php on line 486

in /usr/home/boxw11/www/htdocs/newsletter/System/swift/Swift/Errors.php on line 99

Could you [s]pls[/s] please tell me what went wrong.

Thanks
anna
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

The mail server seems to be having some problems of its own. 451 is when the server is having problems processing a request.
Post Reply