# Queuing and sending Emails in Mautic 5

**URL:** <https://forum.mautic.org/t/queuing-and-sending-emails-in-mautic-5/30998>\
**Category:** Product Support\
**Created:** [February 21, 2024, 10:28pm UTC](https://forum.mautic.org/t/queuing-and-sending-emails-in-mautic-5/30998 "2024-02-21T22:28:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcastelnau](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@tcastelnau](https://forum.mautic.org/u/tcastelnau)\
**Post date:** [February 21, 2024, 10:28pm UTC](https://forum.mautic.org/t/queuing-and-sending-emails-in-mautic-5/30998/1 "2024-02-21T22:28:10Z")

</div>

**Your software**  
My Mautic version is: 5.0.3  
My PHP version is: 8.1

Hi!

I am mostly interested in sending emails using campaigns. I can’t find a way to queue emails and then send them progressively. For example, is there a simple solution to send 10 emails every 10 minutes?

There are no such options as “How should email delivery be handled” and “Message limit for queue processing.” in the UI.

I can send emails using the relevant cron jobs, but it just sends everything at once. I read about the doctrine scheme with default host. But honestly I am lost.

Can anyone help me?

---

<div class="post-metadata">

**Author:** ![kingfisher](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kingfisher/32/12783_2.png) [@kingfisher](https://forum.mautic.org/u/kingfisher)\
**Post date:** [March 29, 2024, 9:39pm UTC](https://forum.mautic.org/t/queuing-and-sending-emails-in-mautic-5/30998/2 "2024-03-29T21:39:42Z")

</div>

Have you solved it? We also have problems with the queue mode. It seems that the queue configuration with doctrine://default is not working. Emails are still being sent immediately. We have configured doctrine in the queue settings, but still `queue_mode` =\> 'immediate\_process` is stored in local.php. This all seems strange. What is the correct configuration?

Mautic 5.0.3 in Docker mode.

---

<div class="post-metadata">

**Author:** ![kingfisher](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kingfisher/32/12783_2.png) [@kingfisher](https://forum.mautic.org/u/kingfisher)\
**Post date:** [March 30, 2024, 1:45pm UTC](https://forum.mautic.org/t/queuing-and-sending-emails-in-mautic-5/30998/3 "2024-03-30T13:45:07Z")

</div>

that was a misunderstanding on my part. The messages are spooled by the Doctrine Transport. It is very fast, so the records are not visible in the table 🙂 We did a test with several thousand fake mails (with mailhog behind it) and the messages appeared in the messenger\_messages table.

---

<div class="post-metadata">

**Author:** ![kingfisher](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kingfisher/32/12783_2.png) [@kingfisher](https://forum.mautic.org/u/kingfisher)\
**Post date:** [March 30, 2024, 9:21pm UTC](https://forum.mautic.org/t/queuing-and-sending-emails-in-mautic-5/30998/4 "2024-03-30T21:21:22Z")

</div>

The reason we thought it was not working is that the “Send test message” buttons are not working.
