Are you facing the problem that you don’t get email notifications from your WordPress forms? Then I have a solution for you!
Did you know that setting up an SMPT (Simple Mail Transfer Protocol) on your site will solve the problem?
In this post, I want to show you how you could set up WordPress SMPT using Amazon SES and the WP Mail SMTP plugin.
This post contains an affiliate link and if you use it for purchase I will receive a small commission at no extra cost to you! Thank you for your support!
Pin this for later:
Why you don’t receive notifications
WordPress uses the PHP mail function to send emails that are generated by a contact form plugin like WPForms. Often, WordPress hosting servers are not configured to use the PHP mail function, so chances are your WordPress emails, including the WPForms notifications, won’t even make into the spam folder.
This is why I recommend using SMTP to send emails from WordPress instead of using the default PHP mail function. SMTP (Simple Mail Transfer Protocol) is an industry-standard way to send emails that use proper authentication methods to ensure email deliverability.
Are you a tech guru? Than using Amazon SES with SMTP is for you!
What is Amazon SES?
While there are lots of different ways to set up WordPress SMTP on your site, most options place a limit on the number of emails you can send. Chances are you’ll stop receiving notifications if WordPress is sending too many emails in a short period of time.
This is where Amazon SES (Simple Email Service) comes in.
Amazon SES is a cost-effective email service built on the reliable and scalable infrastructure developed by Amazon.com. It ensures high email deliverability and is more reliable than sending out emails from your hosting server. Plus they also offer some tools for email marketing.
This tutorial’s method requires you create a free Amazon Web Services (AWS) tier account that expires in 12 months after signing up. Though you’re creating a free account, it requires you to enter your billing address and credit card information during the registration process. However, you will not be charged unless your usage exceeds the free tier limits. You can learn more about the AWS free tier offer.
And now let’s take a look at how you can use WP Mail SMTP plugin‘s Amazon SES Mailer to set up WordPress SMTP on your site.
Setting up WordPress SMTP Using Amazon SES
Here is the step-by-step tutorial which will guide you through the process of how you can set up Amazon SES easy and quick.
1. Set up a free account
Now if you already have an account on AWS you can skip this step, but if you not read along.
Here you can sign up for a free account with AWS.
While your account is free and this mailer setup does not require the use of any paid services, AWS will still require that you enter a credit card when setting up an account.
2. Select your region
Once you sign up for your AWS account, their system will try to determine your region-based on your address. If AWS is unsure of your exact region, you’ll be asked to select the next closest one.
3. Create an IAM User
Now that you’ve created an Amazon Web Services account, the next step is to set up an IAM User. This will provide you with access keys you’ll need later.
First, follow this link to open the AWA IAM Users page and sign in.
Once you’re signed in to the dashboard, click the blue Add user button.
Next, set up a new user. In the User name field, you can add any name you’d like.
After that, next to the Access type check the Programmatic access box
After that, click on the Next: Permissions button to proceed.
4. Configure IAM User Setting Permissions
First, select Attach existing policies directly from the top row of boxes.
Then, type AmazonSESFullAccess into the search bar. This should leave only one result, named AmazonSESFullAccess. Be sure to check the box next to this option so that this permission is added for the user.
When you’re done on this page, click the Next: tags button.
Skip the next page and click the Next: Review button.
5. Review Your User Details
On this page, you’ll be shown all the details you’ve chosen for this user. Double-check that everything looks correct, and then click the Create user button.
AWS will now display a success message. You’ll also see an Access Key ID and Secret Access Key for your user.
If you want to close the tab I recommend to copy your Access Key ID and Secret Access Key and write them down somewhere because you won’t see them again after.
6. Switch to AWS Production Mode
All Amazon SES accounts begin in Sandbox Mode by default. This means that your account will only be allowed to send emails to email addresses that have been verified with Amazon SES.
In this step, I’ll show you how to move from Sandbox Mode to Production Mode so that you can send emails to anyone.
First, you’ll need to click this link and create a request with Amazon Web Services.
In the top row of boxes, be sure that the Service limit increase box is selected.
Next, you’ll need to fill out the Case Classification form. This is an important step because it’s what Amazon uses to try and keep spammers from using their system. Within this form, you’re proving to Amazon SES that your site will be sending emails for legitimate purposes.
I’ve shared all of the details you’ll need for this form below:
- 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 (whichever is closest to where your site’s server is located).
- Limit: Desired Daily Sending Quota
- New limit value: Estimate the maximum number of emails you expect your site to send per day.
After that, you’ll need to fill out the Use Case Description. In this field, share details about what kind of site you have and why you need to send out emails. Be sure to include the type of emails that your site will be sending (for example, confirmations of form submissions, purchase receipts, etc).
It’s a good idea to be detailed in your description because Amazon may reject your request if it doesn’t feel enough information was provided.
Once you’ve entered all of your details, click the Submit button.
After that, you should receive 2 emails from Amazon Web Services. Both will confirm that a new case has been created.
Normally, AWS will review your request and let you know the result within one business day. In the meantime, you can continue your WP Mail SMTP and Amazon SES mailer set up in the next steps.
7. Install the WP Mail SMTP Plugin
While you’re waiting for AWS to review your case submission, you can install the WP Mail SMTP on your WordPress site.
To get started, install and activate WP Mail SMTP on your site.
8. Set Up WP Mail SMTP + Amazon SES
Once you’ve installed and activated the plugin, go to WP Mail SMTP » Settings.
At the top of the Settings page, you’ll see a From Email option. For the From Email, you can use any valid email address. However, for the best results, I recommend using a domain-specific email address (ie firstname.lastname@example.org).
You can also choose to check the box labeled Force From Email. If you’d like the From Email to be the same site-wide, this option will save you the trouble of editing the email settings throughout your site.
Below the From Email, you can set the From Name. This is the name associated with emails sent out and will be set to your site’s name by default. You can adjust this to any value you’d like and check the Force From Name option if you’d like to apply this setting site-wide.
Next, scroll to the Mailer field and select the Amazon SES option.
I also recommend checking the optional Return Path checkbox to Set the return-path to match the From Email. With this enabled, you’ll be emailed if any messages bounce as a result of issues with the recipient’s email.
Once you’ve chosen the Amazon SES mailer, you should see a new section appear titled Amazon SES. Here, you’ll need to add the access keys you created in your AWS account earlier. Go ahead and copy in your Access Key ID and Secret Access Key.
Once you’ve entered both of your keys, you can check the Region field. A region will already be pre-selected for you based on where your site’s hosting server is located, so make sure that this is correct and matches what you picked in Amazon SES.
Now that you’ve added all of your WP Mail SMTP settings, click Save Settings.
After you’ve saved, an additional setting will appear Verified Emails. This is where you will add any emails that you might like to use as the From Email on your site.
To add a new verified From Email, click Add an Email Address.
Now, an overlay will appear where you can add one email address at a time.
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.
9. Send a Test Email
You also there and did a great job so far.
Now that your WP Mail SMTP settings are ready and any From Emails you want to use has been verified, it’s super important to send a test email to ensure that everything is working properly.
To do this, go to Settings » WP Mail SMTP and open the Email Test tab.
The Send To field is filled in with your site’s admin email. However, you can change this to any email address you’d like (that belongs to you and that you have access to).
For HTML, you can also click the toggle off if you’d prefer to send a plain text email. For most sites, though, it will make the most sense to test an HTML email (keep the default).
Once this page is all ready, click the Send Email button.
After sending the email, you should see a success message.
If you go to the inbox of that email address, you should see the test email from WP Mail SMTP.
Congrats! You have now successfully set up your reliable email service.