Since Mautic 5, sending of emails is slow, so far that mails are sent in entities of 200 or so. This results in the process taking 1 hr. to send 700 emails.
This although the cronjob is scheduled
/bin/bash /usr/local/bin/mauticcrons.sh
This is also a problem, that emails for subscribing to an event are not sent instantly, but after several minutes, which makes it difficult for someone who wants to attend a seminar e.g. but has to wait for several minutes while the seminar already started.
Many thanks for your suggestions
Christian
Your software
My Mautic version is: 5.0.5
My PHP version is: 8.1.27
My Database type and version is: Ver 15.1 Distrib 10.11.6-MariaDB
What mailing service do you use? Using API vs SMTP usually makes a big difference, but since Version 5 in most (all?) cases needs a specific plugin for your used mail service. By standard only SMTP is enabled (it sends mails one by one, while API may send bigger batches at once).
These are the parameters you can also influence:
how often cron jobs run (based on the power of your server, also did you think of optimizing your cron jobs setup (How to setup Mautic cron jobs) - or do you use the basic one that comes with the setup documentation?
carefully increase batch sizes per cronjob run,
Make sure your cron jobs are finished, before the next starts.
Yes, I’m sending directly via my own server. Because I’m not sending millions of emails, I was choosing this option.
I was using the script already with Mautic 4.
Because the cron commands did not change with the version 5 compared to 4, I did not touch this.
I assumed that it will work as before. I just experienced while sending the first campaign with version 5. Thus my question came up.
And also, before if someone registered for the newsletter he got the confirmation mail right away. Now, it takes several minutes, although the cron job is started every minute.