# Send in queue

**URL:** https://forum.mautic.org/t/send-in-queue/28144
**Category:** Product Support
**Tags:** mautic-4
**Created:** [May 25, 2023, 2:08pm UTC](https://forum.mautic.org/t/send-in-queue/28144 "2023-05-25T14:08:18Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![oscar2612](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/oscar2612/32/6583_2.png) [@oscar2612](https://forum.mautic.org/u/oscar2612)
#### Post date: [May 25, 2023, 2:08pm UTC](https://forum.mautic.org/t/send-in-queue/28144/1 "2023-05-25T14:08:18Z")

</div>

**Your software**  
My Mautic version is: 4.4.7  
My PHP version is: 7.4.33  
My Database type and version is: mysql 8.0.31-23

**Your problem**  
My problem is:

Hello.

The following happened to me, I’ve been sending some emails to my list for a few days. Yesterday’s list was 4,500 contacts and today’s is about 6,000.

My problem was that today they were not sent.

I explain the case:  
I created a segment email and scheduled it to go out at 10pm, well, at 11pm or so I noticed those emails weren’t going out. Then checking I saw that in the email statistics it said that they were all sent but when I went to check the queue only about 100 had been sent.

Until today I have not had that problem.

What I did was force it on the command line and they started sending.

Can you give me a reason why this could happen?

The issue is that we are going to have a list of 20,000 contacts and right now the server where this is Mautic is 2GB and 2 Cores.

The crons are configured by default as shown in the image.

 ![Captura de pantalla 2023-05-25 a las 16.05.39](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/e14e2bad50502bbd5fb7dc103749f8396be88371.png)

Greetings and thanks

Oscar

Steps I have tried to fix the problem:

What I did was force it on the command line and they started sending.

---

<div class="post-metadata">

### Author: ![oscar2612](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/oscar2612/32/6583_2.png) [@oscar2612](https://forum.mautic.org/u/oscar2612)
#### Post date: [May 29, 2023, 1:50pm UTC](https://forum.mautic.org/t/send-in-queue/28144/2 "2023-05-29T13:50:42Z")

</div>

Hello.

Could someone give me your opinion?

Thanks

---

<div class="post-metadata">

### Author: ![ilo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ilo/32/1181_2.png) [@ilo](https://forum.mautic.org/u/ilo)
#### Post date: [May 30, 2023, 8:15am UTC](https://forum.mautic.org/t/send-in-queue/28144/3 "2023-05-30T08:15:04Z")

</div>

Hi, did you check your error log?  
This issue also happened to me after the email provider responded with an error (one email was using the wrong domain as “FROM”). And because of that, the sending stopped and I had to manually run the command.

---

<div class="post-metadata">

### Author: ![oscar2612](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/oscar2612/32/6583_2.png) [@oscar2612](https://forum.mautic.org/u/oscar2612)
#### Post date: [May 30, 2023, 8:51am UTC](https://forum.mautic.org/t/send-in-queue/28144/4 "2023-05-30T08:51:18Z")

</div>

Nothing appears in the Mautic error log, it is clean.

After forcing it with the console command, for now it seems that they are being sent.

thank you for your comments

---

<div class="post-metadata">

### Author: ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)
#### Post date: [May 30, 2023, 10:33pm UTC](https://forum.mautic.org/t/send-in-queue/28144/5 "2023-05-30T22:33:45Z")

</div>

1. All these actions (6 of them) run at the same time on a 2 core server =\> as I understand, it is better to have them run sequentially:  

2. do you really need all of them? like `email:fetch` and `social:monitoring` and `webhook:process`?

3. `emails:send` … if I am not wrong, this command tries to process all the emails at once, in one run.  
I would split the sending in smaller batches (400 … 800 emails at a time, to be under 1 minute and run the cron job every minute).

**Some references:**

> **[Mautic cron jobs setup: A Complete Guide - Powertic](https://powertic.com/en/mautic-cron-jobs-setup-complete-guide/)**
>
> A complete guide with all the Mautic cron job setups you need so your Mautic runs perfectly in your VPS installation.

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/bd65b59354c06a102d24d4bf46e83214aecbe2d6.jpeg "Der wichtigste Mautic Cronjob (und die wichtigsten anderen Cronjobs) - Mautic Anleitung") ](https://www.youtube.com/watch?v=HftO2Aae400)

---

<div class="post-metadata">

### Author: ![oscar2612](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/oscar2612/32/6583_2.png) [@oscar2612](https://forum.mautic.org/u/oscar2612)
#### Post date: [May 31, 2023, 10:31am UTC](https://forum.mautic.org/t/send-in-queue/28144/6 "2023-05-31T10:31:49Z")

</div>

Hi @IonutOjicaDe.

Well look what a thing, the mautic is installed with the Powertic image and comes with those crons by default.

I’m going to watch the video you send me.

Thank you

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [May 31, 2023, 4:31pm UTC](https://forum.mautic.org/t/send-in-queue/28144/7 "2023-05-31T16:31:45Z")

</div>

Did you check this? I created a checklist here:

> **[Email sending doesn't work - here are 10 things to check - Knowledge Base](https://kb.mautic.org/article/email-sending-doesn-039%3bt-work-here-are-10-things-to-check.html)**
>
> This article will help you to identify email sending problems in Mautic.

---

<div class="post-metadata">

### Author: ![oscar2612](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/oscar2612/32/6583_2.png) [@oscar2612](https://forum.mautic.org/u/oscar2612)
#### Post date: [June 1, 2023, 8:25am UTC](https://forum.mautic.org/t/send-in-queue/28144/8 "2023-06-01T08:25:19Z")

</div>

Hello @joeyk.

I’m going to check it out.

Thanks

---

<div class="post-metadata">

### Author: ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)
#### Post date: [June 6, 2023, 9:06pm UTC](https://forum.mautic.org/t/send-in-queue/28144/9 "2023-06-06T21:06:41Z")

</div>

try using this **yourmautic /bin/console swiftmailer:spool:send --message-limit=10 --time-limit=10 --recover-timeout=900 --mailer=default**

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [June 6, 2023, 11:01pm UTC](https://forum.mautic.org/t/send-in-queue/28144/10 "2023-06-06T23:01:57Z")

</div>

Welcome back @EJL !

---

<div class="post-metadata">

### Author: ![oscar2612](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/oscar2612/32/6583_2.png) [@oscar2612](https://forum.mautic.org/u/oscar2612)
#### Post date: [June 7, 2023, 8:16am UTC](https://forum.mautic.org/t/send-in-queue/28144/11 "2023-06-07T08:16:44Z")

</div>

Hi @EJL.

I am going to try.

I would like to understand, what do the parameters you put do.

Does it work to send with Amazon SES?

Thank you

---

<div class="post-metadata">

### Author: ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)
#### Post date: [June 7, 2023, 2:15pm UTC](https://forum.mautic.org/t/send-in-queue/28144/12 "2023-06-07T14:15:30Z")

</div>

Works with any server- the flags are:  
–message-limit number of emails per trigger  
–time-limit sets a timeout to complete the operation  
–recover-timeout is the number of seconds to treat as failed and retry  
–mailer specifies standard mailing process/relay

None of those flags matter for testing. just a quick 10 mail test with reasonable process and timeout times. Feel free to use for tweaking your processes once your issue is solved. @joeyk is an expert in this stuff. You are in good hands.

---

<div class="post-metadata">

### Author: ![oscar2612](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/oscar2612/32/6583_2.png) [@oscar2612](https://forum.mautic.org/u/oscar2612)
#### Post date: [June 7, 2023, 4:48pm UTC](https://forum.mautic.org/t/send-in-queue/28144/13 "2023-06-07T16:48:27Z")

</div>

Thank you.

I’m going to try it
