Ben Borgers

⇢ Twitter

How to send email through Amazon SES with SMTP

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 at the bottom of the page.

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:password@email-smtp.us-east-1.amazonaws.com: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).

--

Last updated April 24, 2021