Writing Blog Posts by E-mail
If you prefer to post by email, you can do this with WordPress. Posting by email might be advantageous if you want to automate your job postings or even your listserv announcements. When you post by email, you set up a secret e-mail account and simply send the e-mail to that account; the content of the message then appears on your blog as a new post. The only drawback in posting by email is that your posts must remain in plain text, so you cannot have any links or graphics. If you include HTML formatting, the formatting tags actually appear in the post.
Follow the steps in each of the sections below to post to your blog via e-mail:
Set Up a Secret E-mail Account
First you must set up a special e-mail account that you will use to post to your blog. The email must be kept secret because if anyone else starts sending mail to that address, the email will appear on your blog.
- Log in to your host's cpanel, and go to the Mail feature (whatever tool you use to create a new e-mail address with your host).
- Create a new email address that has a non-obvious name. Remember the login and password settings.
- You can test that you set up your email correctly in Outlook by adding the e-mail account. In Outlook, go to Tools > E-mail accounts and add a new e-mail account.
- Remove or disable the e-mail account from your Outlook; otherwise it will intercept messages that you plan to post to your blog.
Configure WordPress's Post Via Email Section to Match Your Secret Email Account:
- In your WordPress Dashboard, go to Options > Writing.
- Under the Post Via E-mail section, enter details about the secret e-mail that you will use to post with.
- Type the same login name and password you would use if setting up the e-mail in Outlook.
- Select the default category for the posts.
- Click the Update Options button at the bottom.
Send the message:
- Use Outlook or whatever e-mail program you use, and create a new message.
- Change your message settings from HTML to plain text, if not already set to plain text.
- Send the message to your secret email address.
Run a "chron job" to process the mail:
- To process the email job manually, type http://stc-suncoast.org/wp-mail.php in your browser' s URL field and press Enter. (Substitute your own domain and possible subfolder after the domain.) You should see a message on the screen indicating that the mail was processed. If you see a message that says there is no mail, then you have your email account set up wrong, or the login name and password is set up wrong in Options > Reading in Wordpress.The message appears on your blog. If the formatting looks screwy, it's most likely because you did not select plain text when you composed the message.
- If you plan to post a lot by e-mail, download a plugin that runs a chronic job to check for e-mail. You can use this Chron jobs plugin from Skippy. Upload the wp-mail and wp-chron php files to your plugin directory, and and they will automatically processes mail jobs every ten minutes or so.
I am thinking of using this post-by-email function to automate job postings from recruiters. I could set up a contact form that routes email to the secret email account, which would automatically post the message.
Can you think of any other reason why posting by email would be advantageous?
I'd Rather Be Writing Newsletter
Get new posts delivered straight to your inbox.
About Tom Johnson
I'm a technical writer based in the California San Francisco Bay area. In this blog, I write about topics related to technical communication — Swagger, agile, trends, learning, plain language, quick reference guides, tech comm careers, academics, and more. I'm interested in , API documentation, visual communication, information architecture and findability, and more. If you're a technical writer of any kind (progressional, transitioning, student), be sure to subscribe to email updates using the form above. You can learn more about me here. You can also contact me with questions.