WP Mail SES

WP Mail SES Install Statistics

11
100%
Today: 11 Yesterday: 0 All-time: 2,391 downloads
WP Mail SES Icon

Try plugin: WP Mail SES

We'll create fresh WordPress site with WP Mail SES installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About WP Mail SES

Uses Amazon Web Services (AWS) Simple Email Service (SES) to send emails in WordPress.

1


0


0


0


0

updated: 6 years ago
since: 8 years ago
author: Bashkim Isai

Description

Uses Amazon Web Services (AWS) Simple Email Service (SES) to send emails.
Based on the original WP SES project by Sylvain Deaure. Main differences:

  • Does not store credentials in the database
  • Convention over configuration
  • Removed any functionality which can be done via AWS Console
  • Open Source and version controlled via GitHub

Usage

View statistics

Go to: Admin » Dashboard » SES Statistics

Send test message

Go to: Admin » Settings » WP Mail SES

Hooks/Filters

wp_mail_ses_sent_email - This function is called once an email has been sent

to SES and provides two parameters:

  • $message_id (string or null) –
    The MessageId as provided by SES if the request was successful,
    otherwise null.
  • $mail_data (array) –
    A hash map containing the information used to send the email. Keys include:
    to, subject, message, headers, attachments

Example:

add_filter( 'wp_mail_ses_sent_email', function ( $message_id, $mail_data ) {
    if ( is_null( $message_id ) ) {
        echo "Sending failed";
    } else {
        echo "Sending successful";
    }

    print_r( $mail_data );
} );