Broadcast emails were sent instantly ignoring the queue

Your software
My Mautic version is: 4.1
My PHP version is: 7.4.3
My Database type and version is: MariaDb

Your problem
My problem is:
My mautic is set up to use the queue and not send more than 60 emails per day, HOWEVER I have created a new broadcast email for my freshly imported clients segment


and ran mautic:broadcasts:send on the server, guess what? all 4K emails were sent out instantly!
most likely blacklisting my new server and domain… What did I do wrong?

broadcastsss

These errors are showing in the log:

Steps I have tried to fix the problem:

@mindeswx Check you mautic/var/spool directory. The emails queue there and are processed

1 Like

the broadcasts messages were not being sent when using the mautic:broadcasts:send , so I followed a guide on troubleshooting the issue, and ran these commands (in the exact order) which resulted in all 4k mails sent out immediately
mautic:segments:update
mautic:campaigns:update
mautic:campaigns:trigger
mautic:broadcasts:send

This is my /var/spool dirrectory -
spool

ookay, so today I learned that these commands just ignore the settings that are on the dasboard
mautic:broadcasts:send is going to send your emails immediately so beware!
you MUST use it like this instead-

mautic:broadcasts:send --limit=X
so in my scenario it is
* * * * * php7.4 /var/html/bin/console mautic:broadcasts:send --limit=1
this cron job would spool up 1 message every minutte.

This video really helped me understanding it, I think it should be pinned somewhere, really much better explained that mautic docs… Kudos to Joey!