Posting by email makes it easy to publish a new post – just by sending an email using the Post by Email module in the Jetpack by WordPress.com plugin.
Enable JetPack Plugin
To get started you first need to activate the Jetpack plugin as follows:
- Enable Jetpack using existing WordPress.com account
- Enable Jetpack by creating a new WordPress.com account
Set up Post by Email
1. Go to Jetpack > Jetpack
2. Click Activate under the Post by Email module.
3. Go to Users > Your Profile
4. You will see a new section for Post by Email.
5. Click the grey “Enable Post By Email” button.
6. You will be given a unique email address that you can use to publish posts to your blog.
- Make sure to keep this email address private
Once you have your Post by Email address submitting a post by email is a simple as this:
The subject of the email is used as the title of the post and the body is the post’s contents. Multiple images are inserted as a gallery.
Using post by email with students
Teachers can create one email address for their class and give it to all of their students to use to publish to a class blog.
Just ask your students to add their username or some other way of identifying themselves at the beginning or end of the email.
Your email can be plain text or formatted. Post by email retains as much formatting as possible but unnecessary HTML tags will be stripped so that your post display nicely. Email signatures are automatically removed provide they match the standard email block pattern.
If your email system attaches a signature that doesn’t match the standard signature block pattern then adding the shortcode [end] on it’s own line above the signature while block anything after this shortcode from being added to your post.
A single image attachment is displayed inline below your post content while multiple images are automatically displayed in a gallery under your post content.
Post by Email Shortcodes
You can use the following shortcode in your email:
- [category x,y,z] – for assigning categories to posts.
- [tags x,y,z] – for assigning tags to posts.
- [excerpt]some excerpt[/excerpt] – for adding an excerpt
- [delay +1 hour] – for scheduling a post.
- [comments off] – for disabling comments on a post
- [status publish | pending | draft | private] – to control the post status. For example, if you use [status pending] the post is submitted as a pending post and isn’t published until approved by an admin user.
- [slug some-url-name] – for changing the post URL.
- [end] – everything after this shortcode is ignored. This is normally used to remove an email signature. It needs to be on its own line with a blank line above it.
- [nogallery] – disables the auto-gallery and displays all images inline
- [more] – more tag
- [publicize off|yahoo|twitter|facebook] – change Publicize options if you have enabled the Publicize module in the JetPack by WordPress plugin.
Shorcodes can be included any where in the body of your email.
Here’s an example of using shortcode in an email:
Here is what the post looks like published: