Any new messages sent to the configured email address will be posted to the blog. This plugin replaces the functionality that used to live in WordPress core.
Once an email has been successfully posted to the blog, it can either be marked as read (IMAP servers only) or deleted from the mailbox.
Updates on the project can be found on the Make WordPress Core blog <make.wordpress.org/core/tag/post-by-email/>.
Supports IMAP or POP3 servers, with or without SSL Optional PIN-based authentication guards against email spoofing Uses WordPress’s built-in roles to manage which users can post Set categories, tags and custom taxonomies by including shortcodes in your email Email attachments will automatically be added to the post’s gallery Emails from unauthorized users can be either set as pending or discarded POST AUTHORS AND SECURITY
The “From” address is matched to WordPress users in the database to determine the post’s author. If the author doesn’t have an account or isn’t allowed to publish posts, the post status will be set to “pending”.
By default, any users in the Author, Editor or Administrator roles are able to publish posts. Use the Users menu item in the admin dashboard to view and manage which users have this capability. For more information on the WordPress permissions system, see Codex: Roles and Capabilities <codex.wordpress.org/Roles_and_Capabilities>.
By default, emailed posts will be placed in the default category configured in the settings.
You can also set the categories, tags and custom taxonomy terms on your posts by including shortcodes in your email. These should be space-separated. Use slugs for tags (and non-hierarchical taxonomies) and either slugs or IDs for categories (/ hierarchical taxonomies). Terms that do not yet exist will be created. Examples:
Categories: Use either slugs or IDs. [category posted-by-email another-category] [category 14]
Custom Taxonomies: Use slugs for non-hierarchical taxonomies, and IDs for hierarchical. [custom-taxonomy-name thing1 thing2] [another-custom-taxonomy 2 3 5]
Any files attached to an email will be uploaded to the Media Library and added to the post as a gallery. You can specify gallery options, or its location within the post, by including a gallery shortcode <codex.wordpress.org/Gallery_Shortcode> in your email. If no gallery shortcode exists, it will be added to the end of the post.
Like WordPress Core, this plugin includes automated unit tests written in PHPUnit.
To run the unit tests:
Set up the WordPress testing library as described in Handbook: Automated Testing <make.wordpress.org/core/handbook/automated-testing/>. You can also do this using WP-CLI <wp-cli.org/blog/plugin-unit-tests.html>. From the plugin directory, run WP_TESTS_DIR=/path/to/WordPress/test/install phpunit MANUAL TESTING
Set up a test email address (services such as Gmail work great for this) and enable IMAP or POP3 access. (Refer to Installation <wordpress.org/plugins/post-by-email/installation/> for detailed instructions.) Verify that you are using the correct mailbox settings by using a third-party email client, such as Outlook or OSX Mail.app, to connect to your test mailbox. Enter those settings into the Post By Email settings and save them. Navigate to the “Activity Log” tab and press the “Check Now” button. When the page reloads, you should see a new entry in the log file describing the results of the mail check. Caveat: There is sometimes a delay between sending an email and having it show up in the mailbox, especially with POP3. If you’re using IMAP, you can connect using a third-party mail client to verify that messages have been received, then mark them as unread so Post By Email will pick them up.
Before reporting a bug, make sure you’ve updated the plugin to the latest version.
Then, provide as much of the following information as possible:
WordPress version (e.g. 3.6.x). Plugin version (e.g. 1.0.4). PHP version (e.g. 5.2.x or 5.3.x). Your mailbox settings (URL, protocol, port and whether SSL is enabled; not your login and password). Any error messages displayed (it might help to enable WP_DEBUG <codex.wordpress.org/WP_DEBUG>in your wp-config.php). If the issue is related to a specific email, the full email, including headers. Feel free to replace any personal information with dummy text (such as “email@example.com”). This link <support.google.com/groups/answer/75960?hl=en> has instructions for viewing full message headers in Gmail, Outlook and Yahoo. Screenshots
<ps.w.org/post-by-email/assets/screenshot-1.png?rev=809241>Main settings page <ps.w.org/post-by-email/assets/screenshot-2.png?rev=809241>The activity log
What timestamp will be used for posts? <wordpress.org/plugins/post-by-email/#what%20timestamp%20will%20be%20used%20for%20posts%3F> Will messages show up on my blog as soon as I send them? <wordpress.org/plugins/post-by-email/#will%20messages%20show%20up%20on%20my%20blog%20as%20soon%20as%20i%20send%20them%3F> I found a bug! <wordpress.org/plugins/post-by-email/#i%20found%20a%20bug!> What does the error “Bad tagged response” mean? <wordpress.org/plugins/post-by-email/#what%20does%20the%20error%20%E2%80%9Cbad%20tagged%20response%E2%80%9D%20mean%3F> Contributors & Developers
“Post By Email” is open source software. The following people have contributed to this plugin.
Contributors Kat Hagan <profiles.wordpress.org/codebykat> Meta Version:1.0.4b