這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

P2 By Email

外掛說明

P2 By Email enables you to use P2 by email:

  • Get instant notifications when posts or comments are published.
  • Ensure you’re always notified when your username is mentioned.
  • Reply to posts or comments by email.
  • Create new posts with a secret email address.

Perfect for communicating with your team while on the go.

Users can change their communication preferences from the default of all posts and comments using profile settings. A special setting can ensure they always receive an email when their username is mentioned.

Want another feature added? Send us a pull request and we’ll consider it. Reply by email depends on a young email reply parsing class — there’s the chance a comment will appear oddly, and we welcome improvements to the regex.

安裝方式

Want to get started using the plugin? Follow these steps:

  1. Download and install the plugin in your plugins directory.
  2. Activate the plugin.
  3. Profit!

By default, all users will receive all post and comment notifications.

Enabling posting or replying by email takes a few more steps:

  1. Register a Gmail or similar email account that supports IMAP.
  2. Add the code snippet below with account details to your theme’s functions.php file. It tells P2 By Email that you’re set up to use post or reply by email.
  3. Install wp-cli and set up a system cron job to regularly call wp p2-by-email ingest-emails.

    add_filter( ‘p2be_email_replies_enabled’, ‘__return_true’ );
    add_filter( ‘p2be_emails_reply_to_email’, function( $email ) {
    return ‘YOURACCOUNT@gmail.com’;
    });
    add_filter( ‘p2be_imap_connection_details’, function( $details ) {

    $details['host'] = '{imap.gmail.com:993/imap/ssl/novalidate-cert}';
    $details['username'] = 'YOURACCOUNT@gmail.com';
    $details['password'] = 'PASSWORD';
    
    return $details;
    

    } );

常見問題集

None yet… Feel free to ask a question in the forums!

使用者評論

閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈P2 By Email〉的開發相關工作。

參與者

將〈P2 By Email〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0 (May 8, 2013)

  • Initial release. Email notifications for posts, comments, and mentions; post and reply by email with special configuration.