這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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'];
}

評價

There are no reviews for this plugin.

貢獻者及開發者

“SesPress” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 SesPress 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄