Title: Using Mandrill for email tracking
Last modified: August 21, 2016

---

# Using Mandrill for email tracking

 *  Resolved [mpdoern](https://wordpress.org/support/users/mpdoern/)
 * (@mpdoern)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/)
 * I’m attempting to use the wpMandrill plugin to handle the sending of the emails
   so that I can track them. It seems to work when sending an individual email to
   one single user, but when selecting more than 1 user, it doesn’t seem to work.
   Any ideas how to make this work?
 * [https://wordpress.org/plugins/email-users/](https://wordpress.org/plugins/email-users/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/#post-4572175)
 * No. What does wpMandrill do to track email messages? When you send an email or
   notification to more than one recipient Email Users constructs an mail header
   that includes the recipient email addresses in the BCC field.
 * If you have a BCC limit in place, it will construct a series of emails with a
   maximum number of recipients in the BCC field based on the setting of the BCC
   limit option. If you have 2875 recipients with a BCC limit of 500, Email Users
   will send six (6) messages, the first five will have 500 recipients and the sixth
   will have 375.
 *  Thread Starter [mpdoern](https://wordpress.org/support/users/mpdoern/)
 * (@mpdoern)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/#post-4572196)
 * Mandrill gives you a nice interface where you can see all email activity (delivered,
   rejected, bounced, etc). You can also search by email address. This comes in 
   handy when someone complains that they didn’t receive an email. It makes it super
   easy to find out what happened.
 * Thank you for explaining how the email is constructed and BCC limit is used. 
   I disabled the Mandrill plugin and emails were sent fine.
 * I think I still might play around with the code and see if I can get Mandrill
   to work with Email Users.
 *  Thread Starter [mpdoern](https://wordpress.org/support/users/mpdoern/)
 * (@mpdoern)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/#post-4572198)
 * I just discovered that wpMandrill plugin accepts only one BCC address per email.
   If several are found, only the first one will be used.
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/#post-4572205)
 * If you set your BCC limit to 1 it should work then. The only problem might run
   into, if you have a large number of recipients, is if your host has a limit on
   the number of outbound emails.
 *  Thread Starter [mpdoern](https://wordpress.org/support/users/mpdoern/)
 * (@mpdoern)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/#post-4572207)
 * Yeah, I think that would work but the other issue is that the sender will also
   receive 1 email for each recipient. So if I send out a mass email to 300 users,
   I will also receive 300 emails.
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/#post-4572211)
 * Yes, that is true. However, you could use the Sender Override feature to use 
   something a special address that is easily filterable in Gmail (or your favorite
   email solution).
 * For example, if my email address is “sendittome@gmail.com” I could set the sender
   override address to “sendittome+squashit@gmail.com” and then create a filter 
   in Gmail that would automatically delete anything sent to the oveeride address.
 * Not super elegant but it would work.
 *  Thread Starter [mpdoern](https://wordpress.org/support/users/mpdoern/)
 * (@mpdoern)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/#post-4572218)
 * That’s a good suggestion. Here’s another solution I came up with:
 * Mandrill has a setting where it will split up the TO: field and send individually
   
   [http://help.mandrill.com/entries/21751312-Can-I-send-to-more-than-one-recipient-at-a-time-](http://help.mandrill.com/entries/21751312-Can-I-send-to-more-than-one-recipient-at-a-time-)
 * So I modified the code in Email Users plugin so it puts the bcc variable in the
   to field:
 *     ```
       $bcc[] = sprintf('%s <%s>', $recipient, $recipient) ;
       ...
       @wp_mail($bcc, $subject, $mailtext, $headers) ;
       ```
   
 * This works! Only problem is I will have to remember this when it comes time to
   update the Email Users plugin in the future.
 *  Thread Starter [mpdoern](https://wordpress.org/support/users/mpdoern/)
 * (@mpdoern)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/#post-4572361)
 * Just wanted to say thank you for the amazing and timely support!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Using Mandrill for email tracking’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/email-users_a0e0cf.svg)
 * [Email Users](https://wordpress.org/plugins/email-users/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-users/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-users/)
 * [Active Topics](https://wordpress.org/support/plugin/email-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-users/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [mpdoern](https://wordpress.org/support/users/mpdoern/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/using-mandrill-for-email-tracking/#post-4572361)
 * Status: resolved