BCC Batch Mode Destroys Email in Subsequent Batches - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: BCC Batch Mode Destroys Email in Subsequent Batches (/showthread.php?tid=21834) |
BCC Batch Mode Destroys Email in Subsequent Batches - El Forum - 08-21-2009 [eluser]Unknown[/eluser] When using BCC Batch Mode the first batch of recipients get a good version of the email and the second batch of recipients get a messed up version. Here's example source from the emails: Source from an email delivered to a recipient in the first batch (the way the email was intended to be delivered): Code: This is a multi-part message in MIME format. Source from an email delivered to a recipient in the second batch (here's where it gets messy) Code: This is a multi-part message in MIME format. It almost looks like the second batch goes through a prep function twice instead of once. Anyone have any ideas on how to fix this? I'm using CI 1.7.1. Also - this is what happens to the subject (it gets removed): Code: Subject: =?ISO-8859-1?Q?Test_Subject?= Code: Subject: BCC Batch Mode Destroys Email in Subsequent Batches - El Forum - 10-20-2009 [eluser]Steerlin[/eluser] Hi, I've also come accross this bug I've temporarily resolved it by changing the following code: Code: /** because if you unset $this->_headers['Subject'] it won't be available for the next batch, hence only the first one works as advertised BCC Batch Mode Destroys Email in Subsequent Batches - El Forum - 11-03-2009 [eluser]Unknown[/eluser] Thank you, thank you for this it was a huge problem until I saw this thread, I was sending out 1500 emails in bcc batches of 200 and only the first batch was okay. Couldnt get that solution above to work, but just turned of batching and ran everything thru a loop clear and setting up the emails each time in my script which is fine. |