What is the Newsletter Task Scheduler?
MailPoet sends emails in batches and not all of them immediately. By default, MailPoet sends 25 emails per batches.
These batches of emails are added to a sending queue.
The newsletter task scheduler is responsible for making sure that all the batches of emails in the queue get sent one after the other.
The newsletter task scheduler needs to be triggered by an event to run continuously. There are several ways to do this.
Configuring the newsletter task scheduler
You can access it by going to the Settings → Advanced tab. There are 2 options:
- Visitors to your website (default): every visit (page load) to your website starts the task scheduler that temporarily runs in the background until all emails are processed.
- MailPoet's own script: the task scheduler runs as a non-stop background process and does not depend on site visitors or require an external source to start. While this method is very accurate and fast, it uses minimal server resources on a constant basis and may not be compatible with certain hosting providers (the list is not exhaustive) that place restrictions on running background processes.
Things to consider:
- If your hosting provider restricts daily/weekly CPU usage, we suggest that you select "Visitors to your website"
- If you don't schedule your emails and send them upon creation, we recommend option "Visitors to your website"
- If your site does not receive much traffic (e.g., 10 or fewer visitors per hour) and you need your emails to be sent exactly when scheduled, we recommend that you select option "MailPoet's own script"
- If you run a high traffic web site (e.g., 10+ visitors per minute, which may include crawlers/bots), option "Visitors to your website" may result in excessive database queries that could put a strain on the server, thus we recommend that you select option "MailPoet's own script"
If your Post Notifications, Welcome Emails or standard newsletters that are scheduled are not sent on time, you might want to
You may wish to experiment with both methods to see which works best in your particular case. If sending does not work regardless of the chosen method, please read about diagnosing sending issues.