BatchSend - detailed error results?

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
EoN
Forum Newbie
Posts: 22
Joined: Thu Oct 11, 2007 5:57 am

BatchSend - detailed error results?

Post by EoN »

Hi all,

Again - thanks for a fantastic product - Swift Mailer is superb :)

Just a question - is there a way to get specific results back from batchSend() to find out which emails worked and which didn't?

Basically my scenario is this - initially i had a simple loop that would run mail() - and if successful would update a database row accordingly. basically this meant if anything fell over halfway through i could see exactly where it got up to.

When i started using swift mailer, i re-structured the entire thing to use batchSend - and only after i completed it did i realise i probably should have stuck with the swift individual ->send() method.... but now that i've made the switch - is there anyway i can get the results of which email sent & which didnt so i can try to update my database accordingly? Will save me having to revert back to the 'one by one' method.

Thanks!

EoN
chuckl
Forum Commoner
Posts: 61
Joined: Wed May 23, 2007 7:36 am

Post by chuckl »

EoN
Forum Newbie
Posts: 22
Joined: Thu Oct 11, 2007 5:57 am

Post by EoN »

thank you! that worked perfectly.

I've got to say - Swift Mailer has been one of the most streamlined - easy to follow, useful, most efficient class/libraries/scripts I've used. THANK YOU! :)

Every feature I've thought to myself 'it'd be great if it could do this' - I'll look in the doco or on the forums - and they all exist! It's great! Keep up the good work :)
Post Reply