AWS SES: How to Work with Your AWS Email Service


The Best WordPress plugins!

1. WP Reset

2. WP 301 Redirects

3. WP Force SSL

Amazon Web Services’ Simple Email Service can be used to send email through a web interface. This tutorial will teach you how to use the service with your own domain, including creating and sending mail using Amazon SES in-house automation tools. You’ll also learn about some of AWS’s other services that are built on top of its cloud computing platform like Elastic Load Balancing and Auto Scaling.

The “aws ses pricing” is a service that allows users to send and receive email. The AWS SES tool allows users to manage their sending, receiving, and delivery settings.

AWS SES: How to Work with Your AWS Email Service

Don’t utilize your own mail servers to send transactional emails or promotional messages if your company needs to send them. Instead, investigate Amazon Web Services’ (AWS) SES email service.

In this tutorial, you’ll learn how to utilize the Amazon SES dashboard and the SMTP interface to send emails using Amazon SES. You’ll also learn how to make the necessary preparations before utilizing Amazon SES to send emails.


To follow along with the examples and actions in this guide, you must meet certain criteria.

  • An AWS account is required. You can create a new AWS account if you don’t already have one. All of the procedures in this tutorial may be completed using the AWS Free Tier subscription.
  • You’ll need access to your DNS host if you want to verify the identification of the whole domain. To confirm domain ownership, you must add new DNS entries to the domain.
  • You must have a legitimate mailbox using that email address if you want to verify the identity of an email address. Access to the Amazon SES confirmation email is required for email address ownership validation.

A new Amazon SES account is first “sandboxed.” This implies that as a sender and receiver, you may only send and receive emails from the verified domain or email address. You can only use email addresses with as both sender and recipient for confirmed email domains (for example,

You may eventually request that Amazon SES be moved out of the sandbox.

  • (Optional) An existing mail server or application with Amazon SES integration.

How to Use the Amazon SES Console

If you’ve just registered an AWS account and signed in for the first time, your first thought could be, “Where’s that SES console?” Given the large number of services accessible in AWS, it’s easy to get overwhelmed and miss what you’re searching for.

Consider the SES console to be an all-in-one email client and email management tool.

The quickest approach to discover AWS SES to send email when signed in to the AWS Management Console is to use the search box. Simply put “basic email” into the search box and choose the first result, as seen in the example below.

How to Use the Amazon SES ConsoleHow to Use the Amazon SES Console

Authenticating the Sender

You must verify that you have the authorization to use the sender identity that you will use before utilizing this AWS email service to send emails. This procedure also aids in the prevention of fraud by ensuring that only authentic domains or addresses are permitted to access the service.

There are two methods for confirming the sender’s identity. One method is to validate an email domain, while the other is to verify an email address. Which one to select is determined by your company’s needs.

Domain Validation

Verifying a domain is required if you want to utilize any email addresses under your domain. You may use any address as a sender after a domain is confirmed in SES, as long as the domain component is your verified domain.

If your verified domain is, for example, the sender addresses [email protected] and [email protected] are acceptable.

Click Domains in the Identity Management section to validate an email domain. Then choose Check a new domain.

Enter the domain name you want to verify in the Check a new domain pop-up box. Then choose Verify This Domain from the drop-down menu.

Check a new domainCheck a new domain

A TXT record is produced when adding a new domain to check, as seen in the example above. You must copy and paste the TXT record into your DNS host.

The data given by Amazon SES are used to create a new TXT record for the domain in the example below. Please keep in mind that your DNS administration interface may vary from the one shown below.

For domain verification, create a TXT record.For domain verification, create a TXT record.

Once you’ve created the TXT record in your DNS host, go back to the Check a new domain page in Amazon SES. Check if the domain has been verified. If not yet verified, click on the refresh button.

The domain status will change to verified if the relevant TXT record is located. The domain has been validated and activated, as seen in the picture below.

The new domain has been validated.The new domain has been validated.

You’re one step closer to sending email using AWS SES!

Email Address Verification

Follow these procedures to validate the identification of particular email addresses and make them senders.

Select Email Addresses from the Identity Management section. After that, choose Verify a New Email Address. In the Email Address box, enter the email address you want to verify, then click Verify This Email Address.

Getting an email address verifiedGetting an email address verified

The new email address verification status is set to awaiting verification, as you can see at the Conclusion of the demonstration. The next step is to get into your inbox and confirm your email address by clicking the link in the SES confirmation email.

The AWS verification email may be seen in the image below. Click the link in the mail to continue the verification.

Message for email address verificationMessage for email address verification

Your web browser should immediately open the link. You should get a notice similar to the one below if the verification was successful.

The email address has been verified.The email address has been verified.

Return to the Amazon SES management console. To see the status of the email address verification, go to the Email Addresses page and click the refresh button. The verification status has been updated to confirmed.

The email address has been validated.The email address has been validated.

Using the Console to Send an Email with AWS SES

The console is perhaps the simplest method to send an email using this AWS email service. Using the console, however, involves manually entering information to send one email at a time. Because of this, the Amazon SES interface is only suited for sending test emails.

When utilizing this approach, you have two email format possibilities. These two email choices are raw and prepared.

You may use the following commands to go to the send email interface in the Amazon SES console:

  • Go to Domains if you want to send an email from any of your confirmed domain’s addresses.
  • Go to Email Addresses if you want to send an email using an individually validated email address.

How to Send a Formatted Email

How to Send a Formatted Email is the simplest option when using the console to send an email. With this option selected, you only need to input your message body, and Amazon SES automatically converts your content into a generic email format.

Go to Domains or Email Addresses, depending on your selected sender address, to send a prepared email. Then, from the list, choose a domain or email address and click the Send a Test Email button.

The Send Test Email interface appears.The Send Test Email interface appears.

Make sure to pick Formatted as the Email Format in the Send Test Email pop-up. Then fill up the needed information, such as From, To, and Subject. Finally, type your message in the Body field and click the Send Test Email button.

How to Send a Formatted Email from the consoleHow to Send a Formatted Email from the console

The test email should be sent to the target inbox if all goes properly. The message was received, as seen in the image below.

Email sent from the console in a formatted formatEmail sent from the console in a formatted format

Sending an Unformatted Email

The raw email option enables you to create more complicated message formatting. This implies you may construct your message using HTML code and utilize HTML formatting.

The HTML code below, for example, may be used as the message body.

Subject: Amazon SES Raw Email Test MIME-Version: 1.0 Content-Type: text/HTML <!DOCTYPE html> <html> <head> <style> body {background-color: powderblue;} h1 {color: blue;} p {color: red;} </style> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>

Return to the Send Test Email page in the Amazon SES console to send the raw email. Choose Raw as the Email Format this time. Fill in the To and From addresses. Then, enter the code above into the Message box and click the Send Test Email button.

Sending an Unformatted Email from the consoleSending an Unformatted Email from the console

The email would be presented with HTML formatting when it was received.

Email sent directly from the consoleEmail sent directly from the console

The email is displayed as an HTML formatted message, as you can see in the image above.

Using the SMTP Interface to Send an Email

SMTP endpoints for this AWS email service (SES) listen for STARTTLS on ports 25, 587, and 2587. In addition, TLS Wrapper uses ports 465 and 2465. (SMTPS)

AWS SES can send emails manually or programmatically, allowing you to incorporate Amazon SES into your automation and background email sending workflows.

You’ll need two items before you can utilize the Amazon SES SMTP endpoint. The SMTP endpoint address and credential.

Obtaining SMTP Endpoint Interface Information

Go to SMTP Settings in the Amazon SES interface to discover the right SMTP endpoint information for your account. The appropriate SMTP interface information, such as the Server Name and Port, should be available.

Obtaining information about the SMTP interfaceObtaining information about the SMTP interface

SMTP Credential Creation

Your SMTP credential is distinct from your AWS credential. Click the Create My SMTP Credentials button to get your SMTP credentials. After that, you can either give the credential a name or accept the default name by clicking Create.

A new SMTP credential with the name SMTP1 is established in the example below.

SMTP Credential CreationSMTP Credential Creation

Copy and save the SMTP username and password once you’ve established the SMTP credential.

Using PowerShell to send an email over Amazon SES SMTP

You may send an email using this AWS email service now that you’ve established the SMTP credential and obtained the SMTP information.

The email will be sent using the Send-MailMessage PowerShell cmdlet in this example. Use the code provided below.

Make sure the $smtpUserName and $smtpPassword variables include your SMTP credentials. Also, change the smtpServer, Port, From, and To email settings.

Create a username and a password. $smtpPassword = ConvertTo-SecureString ‘****SMTP PASSWORD HERE****’ $smtpUserName = ‘****SMTP USER NAME HERE****’ ‘ -Force -AsPlainText # Convert [pscredential] to SecureString $credential = System.Management.Automation.New-Object ($smtpUserName, $smtpPassword) PSCredential # Send Email – make any necessary changes. -Credential Send-MailMessage -smtpServer ’’ $credential ‘ -from ‘[email protected]”-to ‘[email protected]’ ‘ ‘ -subject ‘ ‘ SMTP Endpoint for Amazon SES Email “-body ‘Amazon SES SMTP Endpoint Email’

Copy the complete code and paste it in PowerShell to execute it once you’ve edited it. The message is delivered using PowerShell and received by the target address, as seen in the example below.

Using Amazon SES SMTP Endpoint and PowerShell to send an emailUsing Amazon SES SMTP Endpoint and PowerShell to send an email

Connecting to an Existing Email Server or Application

You may combine the email service in AWS Amazon SES SMTP endpoint with your mail server or email sending application, in addition to utilizing it to send emails programmatically.

A mail server (hMailServer) is setup to transmit outbound messages using the Amazon SES SMTP endpoint as its smart host in the example below.

As a smart host, Amazon SES SMTP is used.As a smart host, Amazon SES SMTP is used.

The mail server now routes all outgoing messages via Amazon SES after configuring the SMTP relayer settings, as indicated in the following picture. A test message was sent to an external receiver ( and received in the example below.

Emails are sent using Amazon SES as a smart host for SMTP.Emails are sent using Amazon SES as a smart host for SMTP.


The Amazon Simple Email Service is a’simple’ email service to set up, use, and get used to. Instead of constructing your own email infrastructure, you may save money on hardware, maintenance, and administration by using Amazon SES.

You learnt how to prepare your domain or email address for usage with Amazon SES in this post. You’ve learned how to use the Amazon SES interface to send both structured and unformatted emails.

You’ve also learnt how to transmit messages programmatically and as an SMTP outbound smart host for your current email servers and apps using the Amazon SES SMTP interface.

You may learn about different methods to send emails using Amazon SES, such as utilizing the API and SDK. Those, on the other hand, are for sophisticated use situations and are best suited for development.

Additional Reading

The “aws ses send email without verification” is a tool that allows users to send an email without needing to verify the recipient. This tool can be used with Amazon SES, which is one of the AWS services.

Related Tags

  • aws simple email service
  • aws ses send-email example
  • aws ses nodejs
  • aws ses receive email
  • sending email from aws ec2 instance

Table of Content