Title: Plugin not sending mails in queue
Last modified: December 17, 2019

---

# Plugin not sending mails in queue

 *  [Filespit](https://wordpress.org/support/users/filespit/)
 * (@filespit)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-sending-mails-in-queue/)
 * Hello,
 * Thanks for a powerful plugin. I have installed the plugin on my site and I want
   to send emails to all users using the queueing system. There are about 1300 user
   accounts on the site.
 * I do this to add emails to the queue.
 *     ```
       $users = get_users(); // Array of user objects (about 1300 users)
       foreach ( $users as $user ) {
           wp_mail($user->user_email, $subject, $body, $headers);
       }
       ```
   
 * When I do this, all emails are sent to the queue, but it doesn’t send anything,
   it just stops. Is there a limit of how many emails can be added to the queue?
 * I have also tried adding a much smaller list of emails (about 5), and when I 
   do this the emails are sent out right away.
 * What am I doing wrong? Is there a way to jumpstart the sending process?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-not-sending-mails-in-queue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Milan Petrovic](https://wordpress.org/support/users/gdragon/)
 * (@gdragon)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-sending-mails-in-queue/#post-12258315)
 * By default, plugin doesn’t capture every email for sending through queue. By 
   default, plugin captures every wp_mail call that sends email to more than one
   recipient (using CC and BCC).
 * Are you sure that emails are added to the queue? Do you see the queue status 
   on the plugin dashboard?
 *  Thread Starter [Filespit](https://wordpress.org/support/users/filespit/)
 * (@filespit)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-sending-mails-in-queue/#post-12285608)
 * Thanks for answering.
 * Yes I do. In the dashboard, the queue status says “Waiting”, as I suppose it 
   should? I see all my emails in the log, they all have the green “To Queue” tag
   in the status column. I suppose that means they’re awaiting to be sent? The queue
   cron job has been called over 3000 times, but its not sending any emails. I might
   have the wrong interval or timeout settings, do you have any recommendations 
   for those?
 *  Plugin Author [Milan Petrovic](https://wordpress.org/support/users/gdragon/)
 * (@gdragon)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-sending-mails-in-queue/#post-12312238)
 * If the queue is called and not working, you should check the PHP error log to
   see if there are any errors logged there. Make sure that PHP on server is configured
   to log errors, or if not, make sure to enable WordPress own debug mode.

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

The topic ‘Plugin not sending mails in queue’ is closed to new replies.

 * ![](https://ps.w.org/gd-mail-queue/assets/icon.svg?rev=2889261)
 * [GD Mail Queue](https://wordpress.org/plugins/gd-mail-queue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gd-mail-queue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gd-mail-queue/)
 * [Active Topics](https://wordpress.org/support/plugin/gd-mail-queue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gd-mail-queue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gd-mail-queue/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Milan Petrovic](https://wordpress.org/support/users/gdragon/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-not-sending-mails-in-queue/#post-12312238)
 * Status: not resolved