Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throttling emails being sent per second #24

Open
JDutil opened this issue Jun 28, 2011 · 4 comments
Open

Throttling emails being sent per second #24

JDutil opened this issue Jun 28, 2011 · 4 comments

Comments

@JDutil
Copy link

JDutil commented Jun 28, 2011

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.

@pjg
Copy link

pjg commented Oct 19, 2011

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

@karant
Copy link

karant commented Dec 1, 2011

+1

@royzinn
Copy link

royzinn commented Jun 10, 2012

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

@JDutil
Copy link
Author

JDutil commented Jun 11, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants