How to use Amazon SES to send email – CloudSavvy IT

Amazon Web Services

Let’s go through sending your first email using the Amazon Simple Email Service (SES). In this article, you will learn, step by step, how to set up Amazon SES to send email.

There are three ways you can send an email using Amazon SES:

  • using the console
  • using the Amazon SES SMTP interface
  • using the API

In this AWS SES tutorial, we use the SES console to send emails.

From the AWS Management Console, search for a “Simple Email Service” and view the Amazon SES console.

Confirmation of an email address

The first thing we need to do is create an email address that we send from to do this. We must first confirm that we actually own the email address we use.

Let’s go ahead and click on Email address to the left.

We currently have no verified email addresses, so please click on Confirm a new email address.

A dialog box will appear telling us that the confirmation email has been sent to this address.

Let’s switch to the email client.

When the confirmation is complete, return to the SES console. Now when I update my list. You can see that my new email address has confirmed status.

We are now able to send you an email.

Sending a formatted test email

Select the verified email address, then click Send a test email.

In this dialogue we get a few options for e-mail.

I can switch between several options by clicking More options link to see some additional fields that I can fill out, which you can see below, but let’s stick to a simple email so far (no puns).

In it To enter the email address you just confirmed. If you are a new user of SES, you will only be able to send to verified recipients because your account will be in a test environment called Amazon SES Sandbox. You can later apply to move out of the sandbox to lift the recipient address restriction.

In the subject, input SES formatted test and then add some text to the body text. Now click on Send test email. You should receive an email.

Sends a raw email

Now let’s send a raw formatted email. I will send this email to the same verified address again. One thing you will notice is that I no longer have the opportunity to see more options and Topic field is no longer available. These fields must be indicated in the message box.

I will insert some example of formatted text for this email. Note that I indicate the subject in the message field. This is also where you will list some of the other options you saw earlier under More options.

Send the email, then check your email client. When you open it, you will see that the text has been formatted as you specified back in the SES console.

SES dispatch statistics

Go back to the SES console, click Sends statistics. The first thing you will notice is the large blue text box that tells us that this SES account currently has sandbox access.

To start sending emails without the sandbox restriction, click Request an increase in the transmission limit. Then you need to fill out this form to submit a new case. I’m not going to go through that here.

Transmission limits

If we scroll down the page with submission statistics, we have some statistics related to our submission limits. You can see here how you are doing on our current shipping limit. I have a few emails sent here from testing for this article, but I can see that I am well below my 200 emails per. 24 hour period.

A little further down we can see some SES metrics showing the number of emails delivered, rejections, rejections and complaints.

Summary

Amazon’s SES feature is a great way to send bulk emails. I hope this article has given you a head start on becoming familiar with SES and how to use it to start sending emails.

Leave a Comment