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,
    // Queue email, but do not send it.
    'enqueue-only'          => false,
    // 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'         => '[email protected]',
    // 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'              => '[email protected]',
    // Sets the "Return-Path" header used by Amazon SES.
    'return-path'           => '[email protected]',
    // Amount of days to keep email logs (e.g. 30, 60, 90, 180, 365, 730)
    'log-duration'          => '30',
    // Enable instantly deleting a successfully sent email from the log.
    'delete-successful'     => false,
    // Enable instantly deleting successfully re-sent failed emails from the log (Pro only).
    'delete-re-sent-failed' => false,
    // Enables the health report.
    'enable-health-report'  => true,
    // Frequency of the health report (daily, weekly, monthly).
    'health-report-frequency' => 'daily',
    // Recipients of the health report (site-admins, custom).
    'health-report-recipients' => 'custom',
    // If using custom recipients for health report, use comma separated list of recipients.
    'health-report-custom-recipients' => '[email protected],[email protected]',
) ) );

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');