In this AWS SES tutorial, we’ll be using the SES console to send emails.
Verifying an Email Address
The first thing we need to do is set up an email address that we will be sending from to do this. We need to first verify that we, in fact, own the email address that we’re using.
Let’s go ahead and click on Email Addresses on the left.
We currently don’t have any verified email addresses, so click on Verify a New Email Address.
A dialog will appear telling us that the verification email has been sent to that address.
Let’s switch over to the email client.
Once that verification is complete, go back to the SES console. Now, when I refresh my list. You can see that my new email address has a status of verified.
We’re now able to send an email.
Sending a Formatted Test Email
Select the verified email address and then click Send a Test Email.
In this dialog we’re given a few options for email.
I can toggle more options by clicking on the More Options link to see some additional fields that I can fill out as you can see below but let’s stick with a simple email for now (no pun intended).
In the subject, input SES formatted test and then add some text in the body. Now click on Send Test Email. You should receive an email.
Sending a Raw Email
Let’s now send a raw formatted email. I’m going to send this email to the same verified address again. One thing you’ll notice is that I no longer have an option to view more options and the Subject field is no longer available. These fields will need to be specified in the message box.
I’m going to paste some sample formatted text for this email. Notice that I’m specifying the subject within the message field. This is also where you would specify some of the other options you saw earlier under More Options.
Send the email and then check your email client. When you open it, you’ll see that the text has been formatted just like you specified back in the SES console.
SES Sending Statistics
Going back to the SES console, click on Sending Statistics. The first thing you’ll notice is the big, blue text box telling us that this SES account currently has sandbox access.
To start sending emails without the sandbox limitation, you will need to click on Request a Sending Limit Increase. Then you’ll need to fill out this form to submit a new case. I’m not going to go through that here.
Sending Limits
If we scroll down the sending statistics page, we have some stats related to our sending limits. You can see here how you’re doing on our current sending limit. I have a few sent emails in here from testing for this article, but I can see I’m well under my 200 emails per 24 hour period.
A little further down, we can see some SES metrics that will show the number of emails delivered, rejects, bounces and complaints.