aws-ses
aws-ses copied to clipboard
Throttling emails being sent per second
It would be nice to have a feature built in that would throttle the emails being sent to Amazon to avoid reaching your quota. For instance it could be an option during initialization to set a custom limit or it could default to whatever the max per second quota is that is returned by your SES account. Then throttle the calls to send SES the emails based on your configured limit.
+1 for that feature. We currently use DelayedJob to enqueue emails and we have a custom algorithm to make it so that sending emails do not hit the SES limit.
+1
BTW - regarding this issue - does the sending from DelayedJob is done automatically using SES? (i.e., are there any further settings except for the default ones?)
You just need to properly setup your ActionMailer configuration to use SES, and DelayedJob just works.