Warning: This plugin is currently in beta! Use at your own risk and please report any bugs, either on the
WordPress Support forums or via the
Github issues page.
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.
Features
- 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.
Shortcodes
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]
Tags: Use slugs.\
[tag cool-stuff]
Custom Taxonomies: Use slugs for non-hierarchical taxonomies, and IDs for hierarchical.\
[custom-taxonomy-name thing1 thing2]
\
[another-custom-taxonomy 2 3 5]
Attachments
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 in your email. If no gallery shortcode exists, it will be added to the end of the post.
- See Installing Plugins.
- Set up an email address that will be used specifically to receive messages for your blog.
- Make sure your email service is configured to allow external connections via POP3 or IMAP.
- Activate the plugin through the 'Plugins' menu.
- Configure mailbox information under Tools->Post By Email.
Instructions for specific email services
- Gmail: This page will walk you through enabling IMAP or POP3 access. When prompted to select an email client for configuration instructions, select "Other" to view the settings.
- Yahoo! Mail: Use these IMAP settings; IMAP access should be enabled by default. Mail Plus subscribers can also use these POP3 settings.
- Outlook.com (Hotmail) settings and instructions can be found on this page.