Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

P2 By Email

Use P2? Use email? Use both!

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

Requires: 3.4 or higher
Compatible up to: 3.6-alpha
Last Updated: 3 years ago
Active Installs: 200+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.