AWS SES wp_mail drop-in #1 in Email & Notifications
An AWS SES wp_mail() drop-in
by Joe Hoyle | Human Made · github.com/humanmade/aws-ses-wp-mail · website
★ 187stars
284kcomposer installs
51forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/humanmade/aws-ses-wp-mail/archive/refs/heads/master.zipAlso on Packagist as humanmade/aws-ses-wp-mail:
composer require humanmade/aws-ses-wp-mailFrom the readme
AWS SES wpmail() drop-in
Use AWS SES to send your WordPress emails. Easily.
A Human Made project. Maintained by @joehoyle.
AWS SES is a very simple UI-less plugin for sending wpmail()s email via AWS SES.
Getting Set Up
Once you have git cloned the repo, or added it as a Git Submodule, add the following constants to your wp-config.php:
If you plan to use IAM instance profiles to protect your AWS credentials on disk you'll need the following configuration instead:
The next thing that you should do is to verify your sending domain for SES. You can do this via the AWS Console, which will allow you to automatically set headers if your DNS is hosted on Route 53. Alternatively, you can get the required DNS records by running:
Once you have verified your sending domain, you are all good to go!
Note: If you have not used SES in production previously, you need to apply to move out of the Amazon SES sandbox.
Configuration Sets
To better track your mail activity for monitoring or statistics you can use the configuration sets. To enable it you will first need to create your Configuration Set on AWS SES Console and add the configuration set name as the val
Read the full README on GitHub →