bulk-mail-cli
bulk-mail-cli copied to clipboard
feat: Rate limit
Some ISP prevents you from sending so many mails in a given window of time.
I think it would be good for those to have a way to limit the mail per hour or something.
Users can adjust to rate limiting requirements by adjusting the time interval cron job setting to fit their needs.
But yes, this feature would be a nice addition. Your thoughts?
I might have something to suggest but I'm not sure if that's good enough
{
interval: (1000 * 60) * 60,
rate: 25
}
25 mails every hour.
Or maybe something that would enforce the cron to avoid having too many mails being sent and blocking the ISP...
Wow, this looks promising. I would like to add this feature.
Just wondering, are you a Node.js dev? If yes, we can add this simple feature together.
If not, I will do it myself but will take time most probably.
I did not get a chance to look at the source code yet but I have some experience using Node.js even though my thing is more DOM API and front end related stuff ^^
That's cool! You can take a look at the source code for a while, till then I'll think about how this feature can be implemented.