BatchSend - detailed error results?
Posted: Wed Oct 17, 2007 1:19 am
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
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