Jump to content

Email tracking WITH batch sending


mort

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/121841-email-tracking-with-batch-sending/
Share on other sites

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

 

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.