AWS SES Production Access setup with Meteor

六眼飞鱼酱① 提交于 2019-12-11 03:27:17

问题


Setting up Meteor to use "out of the box" AWS SES is simple, and one can use native Meteor "Email" methods without modification.

Steps to implement this can be found here. Thanks to Brian Shamblen for putting together a detailed answer.

But one caveat with the "out of the box" SES is you need to both verify the sender and receiver email address.

To remedy this, you can put in a request with AWS SES for what they call, Production Access.

And further, according to Brian Shamblen,

The process to get production access is rather complicated. One will need to handle bounce and complaint notifications from SES and prevent messages from being sent to those addresses in the future.

Question

What is the Meteor code involved in handling bounce and complaint notifications from SES and prevent messages from being sent to those addresses in the future?

EDIT: Made modifications to question for clarity.


回答1:


Requesting production access is fairly straightforward. You just need to contact them and they usually give it to you in a couple of hours.

Information about the process is here: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html

Load up the URL : http://aws.amazon.com/ses/fullaccessrequest/ and let them know what you will be sending via Emails, for example if you will be sending transaction based email (verification of a transaction, etc)

With production access you can either send email from:

  • A specific verified email address, where you will be asked to click a link to an email sent to that address to verify you own it

  • Any email under an entire domain. Under this process you prove you own the domain by editing its DNS records to contain a 'key'.

Most use cases are covered under production access, they typically give you 2000 emails a day and rate limit emails to 5/sec (they queue them so the maximum send rate is 5/sec). If you need more than this you can contact them to raise this additionally.

The process of verification is to stop people quickly creating AWS accounts to mass-spam users. If they allowed this straight-off then AWS IPs would be looked at as spam by other email providers.

For bounce notifications, SES tracks these, and you have to make sure that you don't get an above average bounce rate. Typically these would come from sending unsolicited email, which I wouldn't advise sending via SES.




回答2:


Production access is only approved by the AWS team. Wait a bit and they should easily give you 2.000 emails/day for free. As per bounces-unsubscribes... You'll need to have the SES API notify you of each email address which has been 'marked' with such status. You should store all those email addresses somewhere and tell your app not to send them ANYTHING else in the future.



来源:https://stackoverflow.com/questions/28080170/aws-ses-production-access-setup-with-meteor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!