Ben Borgers

How to send email through Amazon SES with SMTP

April 24, 2021

First, you'll need to create your SMTP credentials for AWS Simple Email Service (SES):

  • On the old SES console, there's an SMTP Settings link on the left side.
  • On the new SES console, the link is under Account dashboard on the left sidebar.

Go through the steps to create new SMTP credentials, and copy them down somewhere.

The fully formed SMTP connection string looks like this:

smtp://username:[email protected]:587

There are three variables that you should replace in this string:

  • username and password, which are the SMTP credentials you copied down earlier.
  • us-east-1, which you should replace with the region that you're sending emails from (this page has a list of the endpoints).

More blog posts

Subscribe to my newsletter for a monthly round-up of new blog posts and projects Iā€™m working on!

Twitter ↗ RSS feed ↗