How To Set Up WordPress SMTP Using Amazon SES Mailer

Are you facing problems with WordPress emails? Or Not receiving email notifications in WordPress?

This is one of the most popular annoying common problems that WordPress users are facing.

But you don’t need to worry about that, after reading this article, you can easily solve your WordPress email delivery problem.

I already created an article about how you can fix WordPress not sending email problems. If you don’t know how you can fix it, first read that article and come back here.

In this article, I will show you how you can set up WordPress SMTP using Amazon SES mailer and the WP Mail SMTP plugin.

What is Amazon SES Mailer?

Amazon SES (Simple Email Service) helps to send emails for businesses. It is more cost-effective and reliable than any other mailer as compared to scalable infrastructure.

You must have an SSL Certificate installed on your WordPress website to use Amazon SES.

Amazon SES offers free for the first year and then after that pricing is based on the number of emails you send, as well as some other factors such as the size of email attachments. For more details please read Amazon SES pricing.

Next, we are going to set up your Amazon SES account for using it on your WordPress site.

How to set up WordPress SMTP Using Amazon SES

Here I will be using the WP Mail SMTP plugin, which is the most popular and advanced SMTP plugin for WordPress.

WP Mail also has a free version, but to use Amazon SES as a mailer, you need to buy their paid plan which starts from $39/year.

So, click the link below to buy WP Mail SMTP and get the maximum discount possible:

White Glove Setup, Email Log
Manage Notifications, Zoho Mail
Amazon SES, Office 365, Gmail
G Suite, SendGrid, SMTP.com
Outlook.com, Mailgun, Others

Step -1. Amazon SES account setup

For using Amazon SES in your WordPress site, first, create a free account with Amazon AWS.

Amazon aws account creation

You need to add your billing information to use their free service, although you will not be charged unless your usage exceeds the free tier limits.

Next, AWS will try to automatically detect your region based on your address. If it fails to detect your region, you’ll be asked to select the next closest one.

amazon aws region selection

Now you have successfully created your Amazon AWS account. Now it’s time to set up an IAM User, which provides some important keys which are needed for setting up Amazon SES in your WordPress website.

Go to the Amazon IAM User page and sign in to your account.

amazon aws sign in

Once you have done signing in, you can see a button called Add User, click on that.

amazon aws add user

We need to create a new user, so enter the username you want, but WP Mail SMTP, which we are using for this tutorial as an SMTP plugin, recommends using the following name format:

yourdomain_wpmailsmtp

In ‘yourdomain’ field, enter your website name such as codebaharcom_wpmailsmtp

Next, in the Access Type, check the box called Programmatic access.

IAM user details in AWS set up

After you have done it, click on the Next: Permissions button to proceed.

Next, you’ll be setting permissions for this new user. From the top row of boxes, select Attach existing policies directly.

Then, in the search box, type ‘AmazonSESFullAccess’. You can see a result name as ‘AmazonSESFullAccess’, check it so that this permission is added for the user.

Provide permissions to IAM user in amazon AWS

Successfully doing it, click the button called Next: tags to move forward and click on the Next: Review button.

On the next screen, you can see all the details you have filled or selected, review it, and click Create User.

Review details before creating user in Amazon AWS

AWS will now display a success message. You’ll also see an Access Key ID and Secret Access Key for your user.

Note: You don’t be able to see this Access Key ID and Secret Access Key again, so, please download a CSV with all of the details or copy them into a safe place.

By default, the Amazon SES account begins in Sandbox Mode, which means that your account will only be allowed to send emails to email addresses that have been verified through Amazon.

To change your mode Sandbox to Production, create a request with Amazon Web Services.

In the top row of boxes, be sure that the Service limit increase box is selected.

Create case for server limit increase in Amazon AWS

Next, fill the Case Classification form. It is important to fill the form because you will need to prove to Amazon SES that your site will be sending emails for legitimate purposes.

Case classifcation form in Amazon AWS
  • Limit Type: SES Sending Limits
  • Mail Type: Transactional
  • Website URL: Your site’s home URL
  • My email-sending complies with the AWS Service Terms and AUP: Yes
  • I only send to recipients who have specifically requested my mail: Yes
  • I have a process to handle bounces and complaints: Yes
  • Region: Choose the same region as when you set up your AWS account.
  • Limit: Desired Daily Sending Quota
  • New limit value: Estimate the maximum number of emails you expect your site to send per day.

The last step you have to follow is to fill out the Use Case Description. Here you will need to enter the details about your website, what types of email you want to send (Confirmations of form submission, purchase receipts, etc), and why you will need to send emails.

Case description in Amazon AWS

Fill all the details correctly, because without proper information Amazon may reject your request.

After filling all the details properly, click on the Submit button. Once Amazon accepts your request, you will get an email from AWS.

So, let’s move forward to the next step, right?

Step- 2. Install and active WP Mail SMTP

I think you have already purchased WP Mail SMTP, right? If not, please do that first.

Now, install and activate the WP Mail SMTP plugin. Once you have done it, go to WP Mail SMTP > Settings. Here you need to fill all the details properly.

The first thing you’ll need to do is to enter your ‘From Email’. The From Email is the email address from which emails are sent from.

WP Mail SMTP from email field

My recommendation is to use a business email (contact@yoursitename.com, support@yoursitename.com), don’t use normal email (yourname@gmail.com, yoursitename@outlook.com).

If you enable ‘Force From Email’, all of your emails are sent from this email, even if other plugins have different settings. I strongly recommend that you check the box.

Next, you’ll need to enter your ‘Form Name’. And if you want you can enable ‘Force From Name’.

Return Path indicates where non-delivery receipts or bounce messages are to be sent. Some providers may ignore this option.

If you unchecked this, bounce messages may be lost. My recommendation is to enable the Return Path.

WP Mail SMTP from name and return path field

How your ‘From Email’ and ‘From Name’ look like in the Inbox:

Inbox email from name and from email

The last step is to add a mailer to your site. The default mailer is PHP, but you need to change that and select the Amazon SES option.

wp mail smtp mailers

After choosing it, you need to enter your Amazon SES Access Key ID and Secret Access Key.

Enter access keys for Amazon SES in WP Mail SMTP

Next, choose your Region from the drop-down menu, make sure it matches what you picked in Amazon SES.

Choose closest region option in WP Mail SMTP for SES

After Saving it, one more option will appear where you need to add a new Form Email.

To do that, simply click on Add an Email Address and enter your email, you can add one email address at a time.

Add an Email Address to verify with Amazon SES in WP Mail SMTP

Next, click the Send Verification Email button. You’ll see a notice asking you to check that email’s inbox for a verification email.

You’ll get an email from Amazon Web Services with a verification link. Click this link within 24 hours to verify this email address.

After you’ve successfully verified the email address, you can return to your site’s WP Mail SMTP settings and refresh the page. All verified emails are displayed here.

Verified Emails list in WP Mail SMTP Plugin

Step- 3. Test your email

To know if you properly configure WP Mail SMTP with Amazon, send a test email.

To send a test email, go to WP Mail SMTP > Settings and click on the Email Test tab.

WP Mail SMTP Test Email Tab

By default, the Send To field is filled in with your site’s admin email. But you can change that.

Enter the email where you want to send a test email and click on the Send Email button.

If it was successful, you see a success message and receive an email in your inbox.

Now you have successfully set up WP Mail SMTP using Amazon SES Mailer.

Thanks for reading this article. If you like it, give us a thumbs up by sharing it with your friend and family.

Newsletter Updates

Get freebies, and special offers delivered directly to your inbox.

One comment

Leave a Reply