Setup Amazon SES dkim – Amazon SES PHP Tutorial & WordPress Plugin

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Amazon SES dkim – Using the WordPress Plugin

 

Whilst Amazon never had an official plugin, there are though third-party packages available than may work. In this example we’ll employ a plugin called Amazon SES DKIM Mailer. This really is a brilliant plugin, suitable with different e-mail services including Amazon SES. This signifies which event you decided use with Amazon SES then you don’t need to change your website, simply the connection details.

This plugin furthermore comes with DomainKeys Identified Mail (DKIM) help. Amazon SES DKIM is set on Reputation; by signing emails with this you are able to avoid a email headers directly effecting the junk folder.

 

Installing Amazon SES dkim

 

Described within the plugin documentation about WordPress:

Deactivate any existing mailer plugins to avoid conflicts.
Unzip the plugin zip file inside the /wp-content/plugins/ directory (or install through the built-in WordPress plugin installer).
Activate the plugin by the Plugins admin menu inside WordPress.
Click the plugin’s Settings link nonetheless found on the Plugins page, or visit the Settings > Mail Settings link, to go to the plugin’s admin settings page. Customise the settings for the following situation.

 

amazon-ses-dkim

Amazon SES dkim settings

 

As discussed before, to employ Amazon SES inside a real-world environment, you’ll have to sign up for Production Access. Without this, you’ll not be capable to send emails to addresses which we never in your control.

 

amazon-ses-pricing

Amazon SES Pricing Comparison for Email Marketing Software

 

 

Amazon SES email Marketing Software
Send newsletters 100x cheaper via Amazon Simple email services & Sendy.

Do you want to save $10000 each year on your email marketing budget? Send your email with Amazon SES international scalable high end servers. Send newsletters 100x cheaper via Amazon Simple email services. A self hosted email marketing software.


Download the Email Marketing Software
 

 

 

Amazon SES DKIM

 

To take benefit of DKIM you’ll have to generate a public & private key plus upload a private key to your host (we suggest naming it “.htkeyprivate” plus placing it inside the website root setting permissions to 400 or 440).

For Windows consumers there are numerous online key generators to aid in do this. On a linux host or Mac you are able to generate your DKIM keys with a password of “change-me” utilizing the following terminal command:

 

 

 

 

For DKIM, set a DNS TXT record something like the following:

 

 

Use the built-in tests settings to check that your blog can properly send out (DKIM signed) e-mails.

 

 

Configure Amazon SES dkim

 

To ensure that the plugin is set to work with AWS SES there are a few settings that need be configured (see screenshot above).

 

  • Tick the Send e-mail via Amazon SES?
  • Add your AWS Access Key
  • Add your AWS Secret Key
  • Make sure that the “From” address is the one you validated earlier.

 

You can now use the plugin’s Send a Test Message. Once you have successfully received the email, you’re completely ready to use it.

 

 

Amazon AWS SDK PHP Tutorial

 

For more advanced people, in this section I am going to explain to you how to send an e-mails utilizing the SDK. This is utilizing PHP, but, there are SDK’s for additional languages too.

You may initially need to install the SDK. For PHP there are some techniques to do this; Composer, Phar, Zip plus PEAR. For this information you will employ Composer, that you should install initially. Once you have Composer installed you need to be capable to access it within the Command Line Interface (CLI).

Create a file inside the root of the project called “composer.json”, this might be where you’ll place the configuration. Then add:

 

 

 

If you have chosen the “composer.phar” then that you can edit php composer.phar install or use a windows composer install. In the project you are able to then add need ‘/path/to/sdk/vendor/autoload.php’; Once you have performed this, we have access to all product API’s which AWS delivers. To send emails what do we need?

 

Here is an example:

 

 

With this we have the customer setup and ready to go. You are able to utilize the feature for the customer to call sendEmail. There are additional techniques to call which you will find more info regarding them inside the assistance documentation on Amazon.

The sendEmail method takes a single parameter and applies it. This range needs certain information; for illustration the source is needed plus an address which we have validated inside the account to allow the sending of emails.

Once we have submitted the emails that you would like to employ plus added the content of the e-mail you are able to run the script and transfer the initial e-mail!

 

amazon-ses-pricing

Amazon SES Pricing Comparison for Email Marketing Software

 

 

Amazon SES email Marketing Software
Send newsletters 100x cheaper via Amazon Simple email services & Sendy.

Do you want to save $10000 each year on your email marketing budget? Send your email with Amazon SES international scalable high end servers. Send newsletters 100x cheaper via Amazon Simple email services. A self hosted email marketing software.


Download the Email Marketing Software
 

 

 

Leave a Reply