Jump to content

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...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.