dev-master
9999999-dev https://github.com/polevaultweb/aws-ses-wp-mailA Composer Friendly AWS SES wp_mail() drop-in
GPL
The Requires
wordpress mail aws ses
Wallogit.com
2017 © Pedro Peláez
A Composer Friendly AWS SES wp_mail() drop-in
AWS SES is a very simple UI-less plugin for sending wp_mail()s email via AWS SES., (*1)
You can install this plugin in your WordPress project as a plugin via composer using this setup:, (*2)
"require-dev":
{
"mnsami/composer-custom-directory-installer": "1.1.*",
"polevaultweb/aws-ses-wp-mail": "dev-master"
},
"extra": {
"installer-paths": {
"htdocs/content/plugins/{$name}": [
"polevaultweb/aws-ses-wp-mail"
]
}
}
and then use composer update to fetch the package., (*3)
The package is intended to be used on a Composer run WordPress site. This means the dependencies for the plugin (AWS SDK) will be installed in the vendor dir. You can specify its location:, (*4)
define( 'WP_VENDOR_PATH', 'path/to/vendor' );
The path is set up by default to be next to the root WP installation directory., (*5)
Then setup the plugin as follows:, (*6)
define( 'AWS_SES_WP_MAIL_REGION', 'us-east-1' ); define( 'AWS_SES_WP_MAIL_KEY', '' ); define( 'AWS_SES_WP_MAIL_SECRET', '' );
If you plan to use IAM instance profiles to protect your AWS credentials on disk you'll need the following configuration instead:, (*7)
define('AWS_SES_WP_MAIL_REGION', 'us-east-1');
define('AWS_SES_WP_MAIL_USE_INSTANCE_PROFILE', true);
The next thing that you should do is to verify your sending domain for SES:, (*8)
wp aws-ses verify-sending-domain
Once you have verified your sending domain, you are all good to go!, (*9)
wp aws-ses send-email <to> <subject> <message> [---from-email=<email>], (*10)
Send a test email via the command line. Good for testing!, (*11)
This is a fork of https://github.com/humanmade/aws-ses-wp-mail to be more composer friendly, (*12)
A Composer Friendly AWS SES wp_mail() drop-in
GPL
wordpress mail aws ses