# My problem is: The system does not send mail

**URL:** <https://forum.mautic.org/t/my-problem-is-the-system-does-not-send-mail/34338>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [December 5, 2024, 2:42pm UTC](https://forum.mautic.org/t/my-problem-is-the-system-does-not-send-mail/34338 "2024-12-05T14:42:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![man.vietnam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/man.vietnam/32/13245_2.png) [@man.vietnam](https://forum.mautic.org/u/man.vietnam)\
**Post date:** [December 5, 2024, 2:42pm UTC](https://forum.mautic.org/t/my-problem-is-the-system-does-not-send-mail/34338/1 "2024-12-05T14:42:23Z")

</div>

**Your software**  
My Mautic version is: 5.2.0  
My PHP version is: 8.3  
My Database type and version is: 10.6.18-MariaDB-log

**Your problem**  
My problem is: The system does not send mail, although I have installed all the successful email DSNs. I have attached the error pictures.

These errors are showing in the log:

Steps I have tried to fix the problem:

 ![Screenshot_36](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/47834ca2e6c578db39a8af7391604b0099dce1d4.jpeg)  
 ![Screenshot_42](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/64fe5bbf60a32a7c1c89b67c13237e291772c0bf.jpeg)  
 ![Screenshot_41](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/584630fee434b64e3bb9f82930b930300832ebbc.jpeg)  
 ![Screenshot_44](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/dd0ba7afbb8d34397424fc5b4233764969fe9b72.jpeg)  
 ![Screenshot_37](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/1e28308173f7684ee55a2d31008e8099e74c7da9.jpeg)

---

<div class="post-metadata">

**Author:** ![matbcvo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/matbcvo/32/6285_2.png) [@matbcvo](https://forum.mautic.org/u/matbcvo)\
**Post date:** [December 5, 2024, 3:36pm UTC](https://forum.mautic.org/t/my-problem-is-the-system-does-not-send-mail/34338/2 "2024-12-05T15:36:30Z")

</div>

Hi, you need to run this command instead:

```bash
php /path/to/mautic/bin/console mautic:broadcasts:send

```

or with messenger installed and queue configured (eg Doctrine):

```bash
php /path/to/mautic/bin/console messenger:consume email --time-limit=50

```

Refer to the Mautic documentation for more details: [Cron jobs — Mautic Documentation 0.1 documentation](https://docs.mautic.org/en/5.x/configuration/cron_jobs.html)

Did you receive the test email after configuring the email DSN?

---

<div class="post-metadata">

**Author:** ![man.vietnam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/man.vietnam/32/13245_2.png) [@man.vietnam](https://forum.mautic.org/u/man.vietnam)\
**Post date:** [December 5, 2024, 4:28pm UTC](https://forum.mautic.org/t/my-problem-is-the-system-does-not-send-mail/34338/3 "2024-12-05T16:28:59Z")

</div>

I still see this error message  
“php /path/to/mautic/bin/console messenger:consume email”

 ![Screenshot_46](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/0351536e1e906874fe03358d942fc918a872890f.jpeg)

---

<div class="post-metadata">

**Author:** ![man.vietnam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/man.vietnam/32/13245_2.png) [@man.vietnam](https://forum.mautic.org/u/man.vietnam)\
**Post date:** [December 6, 2024, 6:46am UTC](https://forum.mautic.org/t/my-problem-is-the-system-does-not-send-mail/34338/4 "2024-12-06T06:46:26Z")

</div>

My system says the email was sent, but the recipient’s email did not receive the email.

 ![Screenshot_50](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/ebcb8a8761579dd7a8ea1873c596ce6f3f3392d1.jpeg)  
 ![Screenshot_51](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/fbc37fb60675b2d03346aee4c0f3de4dc6a875e4.jpeg)  
 ![Screenshot_53](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/a3e68bbd2b5a9dc185274940b538e0f291c5e421.jpeg)  
 ![Screenshot_52](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/c/c110b51b0db4007390f87c7c0e7d18518db640dc.jpeg)

---

<div class="post-metadata">

**Author:** ![marcus42](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marcus42](https://forum.mautic.org/u/marcus42)\
**Post date:** [December 7, 2024, 11:15am UTC](https://forum.mautic.org/t/my-problem-is-the-system-does-not-send-mail/34338/5 "2024-12-07T11:15:20Z")

</div>

> My system says the email was sent, but the recipient’s email did not receive the email.

_I’ll assume that by “system” you meant “web application” (Mautic)._

What does your SMTP server say about it?

It should be confirming the received email and what it did with it.

---

<div class="post-metadata">

**Author:** ![man.vietnam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/man.vietnam/32/13245_2.png) [@man.vietnam](https://forum.mautic.org/u/man.vietnam)\
**Post date:** [December 8, 2024, 1:28am UTC](https://forum.mautic.org/t/my-problem-is-the-system-does-not-send-mail/34338/6 "2024-12-08T01:28:27Z")

</div>

Can you check for me, what command am I missing to send email to new registrants from the form. The system says email has been sent but not received.

"$PHP $MAUTICCONSOLE mautic:campaigns:rebuild ",  
"$PHP $MAUTICCONSOLE mautic:segment:update ",  
"$PHP $MAUTICCONSOLE mautic:campaigns:trigger ",  
"$PHP $MAUTICCONSOLE mautic:import ",  
“$PHP $MAUTICCONSOLE mautic:webhooks:process”,  
“$PHP $MAUTICCONSOLE mautic:reports:scheduler”,  
"$PHP $MAUTICCONSOLE mautic:broadcast:send "

---

<div class="post-metadata">

**Author:** ![marcus42](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marcus42](https://forum.mautic.org/u/marcus42)\
**Post date:** [December 8, 2024, 2:14am UTC](https://forum.mautic.org/t/my-problem-is-the-system-does-not-send-mail/34338/7 "2024-12-08T02:14:17Z")

</div>

You need to check the \>SMTP\< server logs (that isn’t Mautic nor the web server).

What are those logs saying? (SMTP logs)

You should find traces of the email sent from your Mautic app. And most importantly, what the SMTP server did with it.

If Mautic report the email to be sent, probabilities are that the email was sent. But blocked later in the chain.

This is the chain:  
PHP/Mautic (it can write but not send an email, like your Outlook) \>\> SMTP server (this is what can send emails) \>\> MX server (this is what can receive emails) \>\> IMAP/POP3 server (this is what allow you retrieve emails) \>\> Email client like Outlook/Thunderbird/Roundcube (this is what allows you to read emails - and also start a new chain, like the PHP part).

Now, since you report no problem originating from the PHP side (Mautic), you need to check the next link in the chain: STMP server (this is what can send emails)

If it does come out clean (you’ll see it with the email traces found in the SMTP server log), you need to check at the following link in the chain: MX server (this is what can receive emails)

If it come out clean, the IMAP/POP3 server

If that comes out clean, it’s your email client that is broken.
