Title: Non queuing single mails
Last modified: August 30, 2016

---

# Non queuing single mails

 *  Resolved [johansenit](https://wordpress.org/support/users/johansenit/)
 * (@johansenit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/)
 * Great plugin! I host a buddypress system with more than 400 users. I have just
   installed your plugin, and I hope it will make it possible to send Mass Mails
   to all 400 users. (I haven’t tested it rigorously yet, but it seems to work, 
   and even with Mandrill.)
 * But, it queues even solitary-single mails, like “request for new password” So
   after a request for new password, the user has to wait several minutes to get
   the promised mail…
 * Would be great if it was possible to reroute solitary mails, ie non-queuing them
 * /Per
 * [https://wordpress.org/plugins/smtp-mailing-queue/](https://wordpress.org/plugins/smtp-mailing-queue/)

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

 *  [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686226)
 * That’s redundant. Mandrill will accept all 400 recipients and queue them internally.
 *  Thread Starter [johansenit](https://wordpress.org/support/users/johansenit/)
 * (@johansenit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686231)
 * Yep, but it seems that sendmail is processing them in a loop, one-by-one, causing
   the website to take over 5 minutes to process 400 mails.. eventually hitting 
   at time-out, even with the Mandrill plugin.
 * I havent testet your plugin with a mail to all 400 users yet, but I hope it will
   go significantly faster. The problem about solitary mails is the same, without
   mandrill, however .
 *  [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686256)
 * > I havent testet your plugin
 * Not my plugin.
 * > even with the Mandrill plugin.
 * The idea with the Mandrill plugin is you avoid SMTP altogether by using the API(
   web service). That’ll only take a few seconds to send your request.
 * Unless you have some other reason for using the mandrill plugin in SMTP mode?
 *  Thread Starter [johansenit](https://wordpress.org/support/users/johansenit/)
 * (@johansenit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686273)
 * Im not using SMTP.
 * Mandrill sure does only take a few seconds, but only if mandrill gets the 400
   mails in one call, but it seems that WP/mandrill-app is making 400 calls.
 * So I would like to use the Mailing Queue-plugin instead. But it has the topic
   of even queuing solitary mails, adding an unnessary delay to fx “new-password”
   mails.
 * thx for fast reply btw
 *  Thread Starter [johansenit](https://wordpress.org/support/users/johansenit/)
 * (@johansenit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686281)
 * Problem: It takes more than 5 minutes to send 400 mails from BuddyPress, resulting
   in locked screen and eventually a time out.
 * Mandrill-app doesnt help, as it seems to make a call for each mail. giving the
   same result.
 *  [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686290)
 * Interesting, and unfortunately I’m way off topic now so this will be my last 
   message here. But if you don’t mind one last thing, perhaps you could help me
   test the **beta** version of my own plugin. It implements the Mandrill API to
   send mail to Mandril, and I’d love to know if it takes as long as you claim wp
   mandrill is taking. The plugin is [here](https://wordpress.org/plugins/postman-smtp/)
   and if you try it and have feedback we can discuss in that forum.
 * Jason
 *  Thread Starter [johansenit](https://wordpress.org/support/users/johansenit/)
 * (@johansenit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686357)
 * **From the beginning:**
 * BuddyPress loops over each mail, resulting in timeout when doing Mass_Messages
   to more users that a few 100.
 * This brilliant plugin brings the execution time down, so the internal loops in
   BP is no problem. 400 mails in less than 30 seconds! Great, it just saved my 
   big extranet!!
 * It queues however also solitary mails like “New password”. With standard settings,
   the user will have to wait up to 5 minutes. I have therefore adjusted the “wp_cron
   interval” to 30 seconds… I do not know if this melts the server down 😉
 * Would be nice with an option to pass solitary mail “Send directly without waiting
   for cronjob to process queue”.. the functionality is already available in the
   tools section,
 *  Anonymous User 13300557
 * (@anonymized-13300557)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686375)
 * I just updated the plugin. You now have an option to set how many recipients 
   you at least need to start queuing the emails.
 * This only works when multiple recipients are added to one `wp_mail()` call. If
   you use separate `wp_mail()` calls for your 400 mails this will not work.
 *  Thread Starter [johansenit](https://wordpress.org/support/users/johansenit/)
 * (@johansenit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686387)
 * Thx. You are fast!! But you are problably has right, however relevant the upgrade
   wont affect me.
 * But with “wp-cron-interval” set to 30 seconds, the plugin works splendid for 
   me.. really at must have!

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

The topic ‘Non queuing single mails’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/smtp-mailing-queue.svg)
 * [SMTP Mailing Queue](https://wordpress.org/plugins/smtp-mailing-queue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smtp-mailing-queue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smtp-mailing-queue/)
 * [Active Topics](https://wordpress.org/support/plugin/smtp-mailing-queue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smtp-mailing-queue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smtp-mailing-queue/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [johansenit](https://wordpress.org/support/users/johansenit/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/non-queuing-single-mails/#post-6686387)
 * Status: resolved