Emails marked "Email sent" but don't arrive

Your software
My Mautic version is: v5.1.1
My PHP version is: 8.2.25
My Database type and version is: MySQL 8.0.36-28
My host is: Siteground

Your problem
My problem is: Mautic reports email as sent after successful Campaign trigger, but the contact never receives the email.

These errors are showing in the log:
No errors are reported.

Steps I have tried to fix the problem:
I tested the sign up form (on my Elementor-built website) in an incognito window with a throw-away email address. The campaign triggers and the contact is added & properly segmented. My cronjobs function correctly and emails get consumed successfully.

0 */12 * * * php /home/customer/www/m.mydomain.com/public_html/bin/console mautic:maintenance:cleanup

3-59/15 * * * * php /home/customer/www/m.mydomain.com/public_html/bin/console messenger:consume email --limit=20 --time-limit=870

8-59/15 * * * * php /home/customer/www/m.mydomain.com/public_html/bin/console mautic:broadcasts:send --batch=30 --limit=2000

10,25,40,55 * * * * php /home/customer/www/m.mydomain.com/public_html/bin/console mautic:campaigns:trigger --campaign-limit=50

5,20,35,50 * * * * php /home/customer/www/m.mydomain.com/public_html/bin/console mautic:campaigns:rebuild --batch-limit=300

*/15 * * * * php /home/customer/www/m.mydomain.com/public_html/bin/console mautic:segments:update --batch-limit=900

1 Like

Most likely emails are stuck in a queue because the host is not able to process that well enough.

Also its not ideal i think to run consumers as cronjobs, running consumers is more in a domain of systemd services or something similar.

It happened to me once before. If you are using shared hosting use sync. mode for sending. Its not ideal to have a production instance sending out like that, but if consumers do not work you do not really have much choice.

Thanks for your reply. I just checked my test mail again and the email was sent, but with quite a delay. I followed the general concensus that if you have more than 1000 subscribers you should send using doctrine. I have 2000 subscribers at the moment. Should I go back to sync?

Using queue should generally be faster. However that was not the case on shared hosting for me, so if I would be in your position I would try out sync.

Thanks again. Sync seems to be working just fine at the moment.

1 Like

Hi @arjenbokhoven
A newbie here and have the same issue as you.
Sent a broadcast, it’s market as sent but no one received it.

Do you mind explaining or providing a link to configure the Sync you guys are talking about?

Really want to make this thing work

Sync is used as the default for queueing. So what I did was got into Settings/Configuration/Queue settings and under Queue for email (SMS and push messages) and Queue for hits (page and email) set the “Scheme” fields back to “sync”. This should do it.

1 Like

Thanks for the reply.
Will test that and let you know.

What’s configuration for the sync? Like what should I put in the different fields?

If it can help, I’m on the 5.1.1 version

Simply, I have it set like this:

1 Like

Thanks gonna switch to that to see if it works