WordPress.org

Ready to get started?Download WordPress

Plugin Directory

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: 2013-5-9
Downloads: 1,563

Ratings

5 stars
5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1