# Email Queue + SMTP

**URL:** <https://forum.mautic.org/t/email-queue-smtp/27070>\
**Category:** Product Support\
**Created:** [February 17, 2023, 8:00am UTC](https://forum.mautic.org/t/email-queue-smtp/27070 "2023-02-17T08:00:33Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![marius](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marius](https://forum.mautic.org/u/marius)\
**Post date:** [February 17, 2023, 8:00am UTC](https://forum.mautic.org/t/email-queue-smtp/27070/1 "2023-02-17T08:00:33Z")

</div>

My Mautic version is: 4.4.6  
My PHP version is: 7.4.3.3  
My Database type and version is: PostgreSQL

My problem is:

Hi guys, my hostgator SMTP allows me to send 500 emails per hour, I tried to queue up the emails to send 125 per 15 minutes, I put the cron job mautic:emails:send but my emails are not coming through, can someone help me with this?

I’m a beginner here, so if I’m doing something wrong, can someone please show me what settings to put in order to send 500 emails per hour?

---

<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:** [February 17, 2023, 11:26am UTC](https://forum.mautic.org/t/email-queue-smtp/27070/3 "2023-02-17T11:26:45Z")

</div>

Hello!

If you run the cron every 5 min, then you have all together 12 command executions.  
500 / 12 = 41.666 = 41 email / execution.

So your cron should be: message limit for queue processing: 41

If you run the cron every minute, then you have 60 command executions.  
500 / 60 = 8.3 = 8 email / execution.

So your cron should be: message limit for queue processing: 8

Let me know if that works for you.

Joey

---

<div class="post-metadata">

**Author:** ![marius](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marius](https://forum.mautic.org/u/marius)\
**Post date:** [February 17, 2023, 12:01pm UTC](https://forum.mautic.org/t/email-queue-smtp/27070/4 "2023-02-17T12:01:11Z")

</div>

Hi Joeyk,

I put the message limit for queue processing on 40 and set the cron job to run every 5 min, it says that the message was sent, however, I haven’t received it.

That’s the cron jobs I’m using.

 ![cron jobs](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/2576bd8570c200147e22393512d3d7dff627160b.png)

---

<div class="post-metadata">

**Author:** ![marius](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marius](https://forum.mautic.org/u/marius)\
**Post date:** [February 17, 2023, 12:13pm UTC](https://forum.mautic.org/t/email-queue-smtp/27070/5 "2023-02-17T12:13:45Z")

</div>

It seems like it arrived now and landed in spam

---

<div class="post-metadata">

**Author:** ![marius](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marius](https://forum.mautic.org/u/marius)\
**Post date:** [February 17, 2023, 12:14pm UTC](https://forum.mautic.org/t/email-queue-smtp/27070/6 "2023-02-17T12:14:31Z")

</div>

Probably an SMTP related thing, can you tell me if these cron jobs are good please? And if not, what to change?

---

<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:** [February 17, 2023, 1:52pm UTC](https://forum.mautic.org/t/email-queue-smtp/27070/7 "2023-02-17T13:52:55Z")

</div>

`mautic:webhook:process`  
Is used only if you are sending webhooks. If you don’t, you can delete them.

`mautic:leadlists:update`  
Is the old format of mautic:segments:update. I would rather use that.

`mautic:campaigns:update`  
Good.

`mautic:campaigns:trigger`  
Good.

`mautic:emails:process`  
I would not use this, It’s probably obsolete

`mautic:fetch:email`  
Are you using monitored inboxes (Check if people answered your emails)?  
If not, you can delete this.

`mautic:iplookup:download`  
This is fine, if you have the Maxmind DB installed.  
If not, then you should install it 🙂

`mautic:segments:update`  
Good. But I would run it more frequently.  
This depends on how many segments / contacts you have.  
Keep it if you are happy, that only every 20 min your segments are refreshed.

`mautic:emails:fetch`  
What? Again? Why?

`mautic:social:monitoring`  
Are you using Twitter with Mautic? If not, you can remove this.

**One more thing.**  
As you can see campaign update, campaign trigger and segments update will happen at the same time at 20, 40, 00 of the hour. It is so much better to run the commands seperated in time:

**From the documentation:**

> **[Cron jobs](https://docs.mautic.org/en/setup/cron-jobs)**
>
> . . . . Mautic 3 introduced a new path for cron jobs bin/console if you are using the legacy Mautic 2.x series you should replace this with the older version, app/console. . . . Mautic requires a few cron jobs to handle some maintenance tasks such as...

**It is HIGHLY recommended that you stagger the following required jobs so as to not run the exact same minute.**

For instance:

```auto
- 0,15,30,45 <— mautic:segments:update
- 5,20,35,50 <— mautic:campaigns:update
- 10,25,40,55 <— mautic:campaigns:trigger

```

**You can also read more about cron here:**

> **[Ultimate guide to Mautic cronjobs – Joey Keller](https://joeykeller.com/ultimate-guide-to-mautic-cronjobs/)**

---

<div class="post-metadata">

**Author:** ![marius](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marius](https://forum.mautic.org/u/marius)\
**Post date:** [February 17, 2023, 2:58pm UTC](https://forum.mautic.org/t/email-queue-smtp/27070/8 "2023-02-17T14:58:37Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![mybpoconsultant](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mybpoconsultant/32/6161_2.png) [@mybpoconsultant](https://forum.mautic.org/u/mybpoconsultant)\
**Post date:** [September 28, 2024, 1:36am UTC](https://forum.mautic.org/t/email-queue-smtp/27070/9 "2024-09-28T01:36:08Z")

</div>

Hello Everyone. I am hoping to contribute to this thread by asking about the Mautic Gui setting vs cron jobs… For example, I know that my cron job to send emails/queue is every 15 minutes… A lot of people talk about setting up your cron jobs and modifying the send limits… But some of us prefer to work in the Gui! But I thought Mautic had a GUI setting (and this is where I am getting confused) to also change this on the fly without having to alter cron job settings ? For example, based on the fact I know the cron goes out every 15 mintues, and I am using a new Ionos Email account that only allows 50 per hour (for new accounts - shall be upgraded to 500 within 30 days) …

so I would assume that, and to be safe I will send out 45 per hour so that would be 45/4 = 11 per “cron job of 15 minutes” … does that mean that I should put 11 in the “Message limit for queue processing” as in the picture below?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/19bc58eed465e7327061b2fcee7001df2ab4ae52.png)

---

<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:** [September 30, 2024, 8:49am UTC](https://forum.mautic.org/t/email-queue-smtp/27070/10 "2024-09-30T08:49:33Z")

</div>

I would use the command line to set this. Here is a video:

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/44af713b74f2b3072d1812a03cfd5a2d33b32c8f.jpeg "This Is How Email Sending Works In Mautic") ](https://www.youtube.com/watch?v=fJcen6XDuEc)

---

<div class="post-metadata">

**Author:** ![mybpoconsultant](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mybpoconsultant/32/6161_2.png) [@mybpoconsultant](https://forum.mautic.org/u/mybpoconsultant)\
**Post date:** [October 11, 2024, 9:12pm UTC](https://forum.mautic.org/t/email-queue-smtp/27070/11 "2024-10-11T21:12:34Z")

</div>

Thank you @joeyk
