mort Posted August 29, 2008 Share Posted August 29, 2008 Hey all Have been building a system to build / send / track emails to groups of people and have so far gotten all the contact management and sending sorted. We have it setup so it will batch send using BCC to send them out in batches of a couple of hundred at a time. My question is, is it possible to do this, but put unique information in each email? Ie tracking id's, or the recipitents name etc? The way I would usually do this would be to send out 1 email per mail() request, and in the file it includes that contains the email HTML, just use PHP to change the name or the id. But I dont want to lose all the batch sending bits that are done. And short of changing the number per batch to 1, thats the only way I can achieve both and not lose a load of work. Cheers Quote Link to comment https://forums.phpfreaks.com/topic/121841-email-tracking-with-batch-sending/ Share on other sites More sharing options...
JonnoTheDev Posted August 29, 2008 Share Posted August 29, 2008 Batch sending using the BCC is not the best idea for sending to multiple recipients. The Swift Mailer library can do exactly what your asking: http://www.swiftmailer.org Batch sending: http://www.swiftmailer.org/wikidocs/v3/tutorials/multirecipients Quote Link to comment https://forums.phpfreaks.com/topic/121841-email-tracking-with-batch-sending/#findComment-628611 Share on other sites More sharing options...
mort Posted September 12, 2008 Author Share Posted September 12, 2008 wicked works a treat cheers Quote Link to comment https://forums.phpfreaks.com/topic/121841-email-tracking-with-batch-sending/#findComment-639657 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.