Looking for some insight to improve out current process. We’ve got a Wordpress plugin that compiles a daily email based on some algos, creates a new segment email on mautic. Then we’re doing a post on that email to initiate the send. (as if it were done via the UI)
I’m pretty darn sure that’s not even remotely the best way to do this …even though its worked for years. however, we have two larger campaigns where all emails do not get sent (30k each)
As you can see in the attached image …small campaign sends, larger ones do not. It’s not php.ini settings and the server is beefy. No obvious indications in any logs.
We have our own mail gateway so send speed is a non-issue as we queue on the mail server.
Can we create the email and have a cron job pick this up and send properly?
I’m sending the rest of the pending items manually …and I see its sending in batches of 100 which is why its so slow. Can I increase that batch size? There used to be email settings for that but in 5.x I think they’re gone.
Queueing is prob the answer even if our mail server doesn’t need it?
Good call, timeout was upstream in nginx …send was probably taking an hour. I’ve cranked it to 90 mins for now …as well as fpm.
I have had this setup forever but emails never get send on their own:
0,15,30,45 * * * * php /opt/mautic/bin/console mautic:broadcast:send > /dev/null 2>&1
“And to increase your sending rate, still in the mautic console, the “–limit=” is probably what you are looking for.”
Added auto rotate on the logs …so we should be ready to rock. So in theory …broadcast send will send any published segment email that hasn’t been sent yet? I’ll update the php.ini for cli as well to make sure that doesn’t conk out as well.