Title: SES for WordPress
Author: duncanjbrown
Published: <strong>January 9, 2013</strong>
Last modified: January 9, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/aws-ses-for-wp.svg)

# SES for WordPress

 By [duncanjbrown](https://profiles.wordpress.org/duncanjbrown/)

[Download](https://downloads.wordpress.org/plugin/aws-ses-for-wp.zip)

 * [Details](https://wordpress.org/plugins/aws-ses-for-wp/#description)
 * [Reviews](https://wordpress.org/plugins/aws-ses-for-wp/#reviews)
 *  [Installation](https://wordpress.org/plugins/aws-ses-for-wp/#installation)
 * [Development](https://wordpress.org/plugins/aws-ses-for-wp/#developers)

 [Support](https://wordpress.org/support/plugin/aws-ses-for-wp/)

## Description

SES for WordPress

Introduction

This plugin provides support for AWS’s Simple Email Service for your WP site. It
supports arbitrary custom headers and handles image embedding for you. It sends 
HTML messages with an automatically-generated plain-text counterpart.

By default, it overrides the native wp_mail function, so all you need to do is configure
your AWS Keys and sender in Settings > SES4WP Options.

Components

 1. PEAR Mime_mail to create the message
 2. Jevon Wright’s [html2text](http://journals.jevon.org/users/jevon-phd/entry/19818)
    for the plain-text part
 3. AWS SDK v1.5

Embedding images

Before your call to wp_mail(), call `ses4wp_embed_image` with an image handle and
the path to your image. It will return a content_id for you to use in your src attribute.

Paths should be given relative to your webserver root. So for instance, to embed`
wp-content/themes/twentyeleven/images/wordpress.png`, you would _omit_ the slash
at the beginning.

eg

    ```
    $content_id = ses4wp_embed_image( 'my_image', 'wp-content/path/to/image.jpg' );
    $mail_body = "This is an image. <img src='cid:$content_id' />";
    wp_mail( 'bob@example.com', 'My Subject', $mail_body );
    ```

The image will be attached to the email and delivered inline.

## Installation

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory and activate it
 2. Configure your AWS keys in Settings > SES4WP Options

## FAQ

  Do I need to change any settings to send emails using SES?

As long as the ‘override wp_mail’ option is checked, everything should ‘just work’.

  What’s all this about image embedding? Can’t I just link to an image in my HTML
email?

You can, but it won’t work everywhere. For delivery to many clients, including Android
GMail and iPhone Mail, you need to attach a copy of the image to the email.

There’s some details on how it works [here at StackOverflow](http://stackoverflow.com/questions/4312687/how-to-embed-images-in-email).
This plugin basically handles all that header creation palaver for you.

  Is it on GitHub?

Yes: [duncanjbrown/ses-for-wordpress](https://github.com/duncanjbrown/ses-for-wordpress)

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“SES for WordPress” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ duncanjbrown ](https://profiles.wordpress.org/duncanjbrown/)

[Translate “SES for WordPress” into your language.](https://translate.wordpress.org/projects/wp-plugins/aws-ses-for-wp)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/aws-ses-for-wp/), check
out the [SVN repository](https://plugins.svn.wordpress.org/aws-ses-for-wp/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/aws-ses-for-wp/)
by [RSS](https://plugins.trac.wordpress.org/log/aws-ses-for-wp/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1

 * Initial release

## Meta

 *  Version **0.1**
 *  Last updated **14 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.5 or higher **
 *  Tested up to **3.5.2**
 * Tags
 * [aws](https://wordpress.org/plugins/tags/aws/)[email](https://wordpress.org/plugins/tags/email/)
   [SES](https://wordpress.org/plugins/tags/ses/)
 *  [Advanced View](https://wordpress.org/plugins/aws-ses-for-wp/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/aws-ses-for-wp/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/aws-ses-for-wp/reviews/)

## Contributors

 *   [ duncanjbrown ](https://profiles.wordpress.org/duncanjbrown/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/aws-ses-for-wp/)