Tag Archives: Amazon SMTP

Amazon SES – Setup and get started!

facebooktwittergoogle_plusredditpinterestlinkedintumblrmail

We needed to use a mail service to send email from the domain www.toysshare.com – The obvious choice for us was Amazon SES due to the following reasons:

  1. It was available in Free tier and we were already signed up for the free tier.
  2. It is one of the most reliable email service, it eliminates the need to deal with deal with infrastructure challenges such as email server management, network configuration, and IP address reputation.
  3.  Additionally, many third-party email solutions require contract and price negotiations, as well as significant up-front costs.
  4. Amazon SES provides SMTP or a simple API call  to access a high-quality, scalable email infrastructure to efficiently and inexpensively communicate to your customers.

To get setup with Amazon SES you simply have to,

  • Sign Up: After signing up, you can access the Amazon SES sandbox – an environment specifically designed for developers to test and evaluate the service. If you have already signed up for Amazon AWS you don’t need to do this. If not please check here on how to do that.
  • Verify Domains or Email Addresses: Before you can send email via Amazon SES, you need to verify that you own the domain or address from which you’ll be sending email. To start the verification process, visit the Amazon SES console. Here is a link on how to accomplish this step in Amazon SES console: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html
  • Request Production Access: Once you are ready to use Amazon SES to send email, you request production access. This will allow you to move from the sandbox environment to the production environment and begin sending email to your customers. It only takes a few minutes to apply for production access, and you usually receive a response within 24 hours. Here is how you can request the production access for Amazon SES: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html
  • Send Email: You can use either SMTP or the Amazon SES API to queue an email message for delivery. Here is how you can obtain access key for Amazon SES API: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/get-aws-keys.html
  • Get Feedback: Amazon SES provides useful statistics about your sending activities. With a simple query or Amazon SES console visit, you can quickly obtain vital statistics such as volume sent, bounces and complaints. http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-usage-statistics.html

Just follow the following link to get going: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/quick-start.html

Once you have setup the environment by verifying the domain, and getting the production access use the following link to see how you can use SMTP or SES console to send an email: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/getting-started.html

This is how you can get your SMTP credentials from Amazon and use it in your application: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html

That is it, it is very simple. Though there are some limits on how many email you can send using Amazon SES : http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html 

As part of free tier, you can get started with Amazon SES for free. You can send 2,000 messages for free each day when you call Amazon SES from an Amazon EC2 instance directly or through AWS Elastic Beanstalk. Many applications are able to operate entirely within this free tier limit, and it does not expire after a year. Find more pricing details here: http://aws.amazon.com/ses/pricing/