Title: Asynchronous requests?
Last modified: August 21, 2016

---

# Asynchronous requests?

 *  Resolved [Ella Van Durpe](https://wordpress.org/support/users/ellatrix/)
 * (@ellatrix)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/asynchronous-requests/)
 * Thanks for this wonderful plugin!
 * I’d like to send out my emails asynchronously, but it seems that this option 
   falls out of the $message variable that can be modified with mandrill_payload.
   Could a filter for this be added to the plugin? Currently there’s no other way
   than to modify the code.
 * The reason I’d like to send them asynchronously is because I’d like to send out
   50 emails or so at once, but it would take too long to do that. Ideally I’d like
   to make just one request, but I don’t think that’s currently possible? I don’t
   want to send one message to multiple recipients, I’d like the send out a unique
   message to each. This is useful when you’re providing links to unsubscribe.
 * Thanks a lot!
 * [http://wordpress.org/plugins/wpmandrill/](http://wordpress.org/plugins/wpmandrill/)

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

 *  Plugin Author [MC_Will](https://wordpress.org/support/users/mc_will/)
 * (@mc_will)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/asynchronous-requests/#post-4339149)
 * Hi Janneke,
 * I still think the best option for you will be to send one message to multiple
   recipients, as you mentioned.
 * First of all, if a message is sent to more than 10 recipients, it is always sent
   asynchronously by Mandrill so just one call and boom, you’re done.
 * Next in order, unique content for every recipient. Here you have a few options
   too. If every email is completely different, you can create a very basic template
   and, using ‘merge vars’, insert the content you already have for every recipient.
   That will make the payload a little bit larger but it will work.
 * My preferred option is to identify common parts in all those emails, replacing
   unique parts by global or user merge vars (depending on the case) and create 
   a template with this. Then, send the payload only with the unique values for 
   each recipient along with any global merge vars if needed.
 * I hope it helps!
 *  Thread Starter [Ella Van Durpe](https://wordpress.org/support/users/ellatrix/)
 * (@ellatrix)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/asynchronous-requests/#post-4339179)
 * Thanks a lot! Those merge_vars were exactly what I was looking for!

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

The topic ‘Asynchronous requests?’ is closed to new replies.

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

## Tags

 * [async](https://wordpress.org/support/topic-tag/async/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ella Van Durpe](https://wordpress.org/support/users/ellatrix/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/asynchronous-requests/#post-4339179)
 * Status: resolved