ItzNotABug / ghosler

Send newsletter emails to your Ghost CMS subscribers & members, using your own email credentials!
Apache License 2.0
47 stars 5 forks source link

Send emails in batch with added delay #26

Closed ItzNotABug closed 8 months ago

ItzNotABug commented 8 months ago

This PR manages to solve the limitations that could be added by the email providers i.e. emails per second. See #25 for more details where SES has different limits & it can range from 1 email per second to 14 or to even 100.


What does this PR do exactly?

Both these options are configurable from settings, i.e. -

  1. Number of emails per batch [Default is 10]
  2. Delay in milliseconds per batch [Default is 1250, 1.25 seconds]