Details
Description
The mass mailer currently sends email as quickly as it can, which is at about a rate of 1 per second.
Some users have expressed concern over being rate limited by their service providers and would like to be able to define the mass mailer to have a rate limit per unit time (e.g. 20 per minute). We should consider options on supporting such a rate limit and where to add it in the UI.
Suggestion:
- Add a cog/gear icon like other widgets in the Mass Mailer. Under Tools > Mass Mailer, upper right of widget.
- Create a form where a rate limit can be set, by default no limit is set (No value = unlimited). This should be an input box for number of emails sent per automation task run.
If the user enters 100 in the box, then each time the automation task runs it will send 100 emails, then exit. At the next run, it will pick up where it left off and send the next 100 emails, and so on until all the emails are sent. If a user changes the rate limit from say 100 to 200, then at the next cron run it would send 200 instead of 100.