aws-ses icon indicating copy to clipboard operation
aws-ses copied to clipboard

Throttling emails being sent per second

Open JDutil opened this issue 14 years ago • 4 comments

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.

JDutil avatar Jun 28 '11 21:06 JDutil

+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.

pjg avatar Oct 19 '11 10:10 pjg

+1

karant avatar Dec 01 '11 22:12 karant

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?)

royzinn avatar Jun 10 '12 10:06 royzinn

You just need to properly setup your ActionMailer configuration to use SES, and DelayedJob just works.

JDutil avatar Jun 11 '12 21:06 JDutil