2017 © Pedro Peláez
 

library aws-ses-wp-mail

A Composer Friendly AWS SES wp_mail() drop-in

image

polevaultweb/aws-ses-wp-mail

A Composer Friendly AWS SES wp_mail() drop-in

  • Wednesday, April 13, 2016
  • by polevaultweb
  • Repository
  • 1 Watchers
  • 1 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

AWS SES WP Mail

AWS SES is a very simple UI-less plugin for sending wp_mail()s email via AWS SES., (*1)

Getting Set Up

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)

Other Commands

wp aws-ses send-email <to> <subject> <message> [---from-email=<email>], (*10)

Send a test email via the command line. Good for testing!, (*11)

Credits

This is a fork of https://github.com/humanmade/aws-ses-wp-mail to be more composer friendly, (*12)

The Versions

13/04 2016

dev-master

9999999-dev https://github.com/polevaultweb/aws-ses-wp-mail

A Composer Friendly AWS SES wp_mail() drop-in

  Sources   Download

GPL

The Requires

 

wordpress mail aws ses