I have a bit of an issue with our settings and was wondering if you could clarify if it was intended design or if we might have something setup wrong on our end?
The .bat file we are running contains the following:
mautic:emails:send --message-limit=150
mautic:segments:update --batch-limit=900
mautic:campaigns:update --batch-limit=300
mautic:campaigns:trigger
Their are two issues we have with this setup that we were wondering about
- When I create a segment that has say 10k users on it and create a campaign to use that segment to send an email to the users what happens is an email for all 10k users is created in the var\spool at the first run of the batch file. This takes up to 15-20 minutes to complete. This means that our regular sends stop happening until all those backlog emails are completed. Is there a way to have it only create backlog items for a set number of users? As a note this could be slower to create because of some customization we have, I’m not sure if it’s usually this slow to create 10k emails in the backlog or not.
- The email sent date for all users is set to the time it was processed. So for example one of our users is recorded as having the email sent at 10:18 am, but it wasn’t actually sent until it was picked up in the queue 22 minutes later. This is less of an issue, and would probably be fixed by the first issue if there was a way to set that up (it might be a couple minutes off but there wouldn’t be 10k emails in the queue to go through).
Thanks for any help!