Documentation

WP Offload SES Settings Constants

All settings in WP Offload SES can be defined using constants in your wp-config.php file.

Main Settings

define( 'WPOSES_SETTINGS', serialize( array(
    // Send site emails via Amazon SES.
    'send-via-ses'          => true,
    // Enable open tracking.
    'enable-open-tracking'  => true,
    // Enable click tracking.
    'enable-click-tracking' =>  true,
    // Enable subsite settings (if on multisite).
    'enable-subsite-settings' => true,
    // Amazon SES region (e.g. 'us-east-1' - leave blank for default region).
    'region'                => 'us-east-1',
    // Changes the default email address used by WordPress
    'default-email'         => 'your-email@example.com',
    // Changes the default email name used by WordPress.
    'default-email-name'    => 'Your Name Here',
    // Sets the "Reply-To" header for all outgoing emails.
    'reply-to'              => 'your-email@example.com',
    // Sets the "Return-Path" header used by Amazon SES.
    'return-path'           => 'your-email@example.com',
    // Amount of days to keep email logs (e.g. 30, 60, 90, 180, 365, 730)
    'log-duration'          => '30',
) ) );

AWS Access Keys

define( 'WPOSES_AWS_ACCESS_KEY_ID', '********************' );
define( 'WPOSES_AWS_SECRET_ACCESS_KEY', '**************************************' );

License Key

define( 'WPOSES_LICENCE', '********-****-****-****-************' );

!!! IMPORTANT !!!

The above defines should be placed before:

/* That's all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');