该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

SesPress

描述

SesPress allows you to send emails using Amazon’s Simple Email Service.

Major features in SesPress includes:

  • Support to enable/disable the mail functionality
  • Ability to add a default sender
  • Test mode to override recipients with a test mode recipient at the time of testing
  • Ability to send mail templates with dynamic data

安装

1) Upload the plugin files to the /wp-content/plugins/sespress directory, or install the plugin through the WordPress plugins screen directly.
2) Activate the plugin through the ‘Plugins’ screen in WordPress.
3) Use the Settings->SesPress screen to configure your the AWS credentials.
4) Use the following snippet in your code to use the functionality.

add_action( 'wp', 'sespress_send_sample' );
function sespress_send_sample() {
    $args = array(
        'subject' => 'Welcome to SesPress',
        'recipients' => array(
            array(
                'name' => 'John Doe',
                'email' => 'johndoe@example.com',
            ),
            array(
                'name' => 'Jane Doe',
                'email' => 'janedoe@example.com',
            ),
        ),
        'sender' => array(
            'name' => 'Admin',
            'email' => 'admin@mysite.com',
        ),
        'message' => array(
            'html' => '<h2>Test message embedded in HTML tags.</h2>'
        ),
    );
    $sespress = new SesPress;
    $result = $sespress->send( $args );
    echo $result['data'];
}

常见问题

Installation Instructions

1) Upload the plugin files to the /wp-content/plugins/sespress directory, or install the plugin through the WordPress plugins screen directly.
2) Activate the plugin through the ‘Plugins’ screen in WordPress.
3) Use the Settings->SesPress screen to configure your the AWS credentials.
4) Use the following snippet in your code to use the functionality.

add_action( 'wp', 'sespress_send_sample' );
function sespress_send_sample() {
    $args = array(
        'subject' => 'Welcome to SesPress',
        'recipients' => array(
            array(
                'name' => 'John Doe',
                'email' => 'johndoe@example.com',
            ),
            array(
                'name' => 'Jane Doe',
                'email' => 'janedoe@example.com',
            ),
        ),
        'sender' => array(
            'name' => 'Admin',
            'email' => 'admin@mysite.com',
        ),
        'message' => array(
            'html' => '<h2>Test message embedded in HTML tags.</h2>'
        ),
    );
    $sespress = new SesPress;
    $result = $sespress->send( $args );
    echo $result['data'];
}

评价

此插件暂无评价。

贡献者及开发者

“SesPress” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“SesPress”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志