WordPress grants the facility of publishing a post on a website via email. This feature comes in handy when you cannot always access the dashboard of your website to create a new post. If it is very important to publish a post at that time and there is no way, you can access the email to accomplish your goal. In the following, we’d like to tell you how to publish a blog post via email to your WordPress site.
When to Do This?
Sometimes, it is more relevant to post on WordPress via email. This is true especially when you want to post the photos or videos on your phone to your WordPress website. This can be done on the go without accessing your dashboard. There is also another reason you want to use this feature. This is when someone has sent you something like a newsletter on your email, and you want it to be published on your WordPress website. The convenient method for this is to directly post this article via email. It saves you the effort of downloading the newsletter and then posting it through your dashboard.
How to Do This?
Now, you can see how this process of publishing a post on WordPress via email is accomplished. The following steps must be followed.
Download and install the Jetpack plugin. Go to the plugin on your dashboard and activate “Post by Email”. Next, you need to navigate to Users->Your Profile, and click on “Enable Post by Email”. Once you click on this, email address is generated for you. You must remember it. If you don’t like the one that has been generated, then you can click on ‘Regenerate Address’ to get another address.
Now, you need to open your email client (Yahoo, Gmail, etc.) and compose the message you want for your post. Then, enter the email address provided by WordPress above as the receiver’s email address, and enter the title of your post as the subject of your email.
Then, you can write the body of the post you want published in WordPress in the message part of the email. Here, you can apply the formatting options provided by the email client to the message. This formatting can be maintained as much as possible. In a case that your email client does not support rich text or HTML, you have to send an email to the drafts folder and format it later on.
Do not add a .log file. It can be rejected and delays the publishing of the post. If you want your post to show images, then you have to add them as URLs. If you directly add an image to the email body or attach it, then it can be ignored. Besides, the post must be well formatted. If not, it can be sent to the Drafts folder and not published immediately.
In addition, the attachments of any kind are directly sent to the Media Library, and anything that is written after the hr tag can be ignored. However, you can further customize your posts and control their behavior using shortcodes.
Now, you can click on the “Send” button. The correspondence can appear as a post on your WordPress website. Here, note that if you are an administrator, author or editor of the WordPress site, then your posts can be published immediately. However, if you only have contributor privileges, your post can not be published immediately. It is firstly sent for review.
Install Postie on Your Website
You can download this plugin via PostiePlugin.com and then upload the loaded file to WP admin. Perhaps, doing it via website backend is a much easier way to settle a matter at one go. Log into your WP admin and search for this plugin to get a result as below. Install and activate this plugin on your website.
An item called Postie appears on the sidebar and a notice said “Postie is almost ready. You must enter your email settings for it to work” requires you to modify email settings via the given link. Click to enter the Postie Settings page.
Configure Postie Plugin
There is an array of tabs available for Postie plugin configuration, including Mailserver, User, Message, and so on. Click to the Mailserver tab and fill out your server information as required. Select your mail protocol from the drop-down list, which includes POP3, IMAP, POP3-SSL and IMAP-SSL. Here, we suggest you to choose the mail protocol with SSL.
Check “Yes” for the option “Use Transport Layer Security (TLS)” if needed and enter a correct port by following the given tips. For example, when setting the mail server as POP3, the port should be 110.
Continue to type mail server name in Mail Server field and that can be found via your account settings. The Mail Userid is where to type the email address used to receive post submission while the Mail Password should be the password for your email address. Leave the default value of Postie Time Correction.
Determine how often to check new messages by selecting an option from the “Check for mail every” drop-down list. The “Maximum number of emails to process” determines how many posts Postie will process at one time. If there is no need to keep a record of each process, you can clear all emails by checking “Yes” for “Delete email after posting”.
Leave the “Allowed SMTP servers” blank to allow messages that are sent from all SMTP servers or enter certain SMTP servers to get that permission as needed. Save changes to confirm all settings.
Move to the User tab and this is where to set permissions for all user roles on your website. The recommended setting for “Allow Anyone To Post via Email” is “No” and that is a great method to prevent unacceptable content from being posted. Otherwise, anyone can send email to you and that will be published on your website.
Check “No” for the “Force User Login” if you don’t use custom taxonomies, whereas you should check “Yes” in that case. Determine who are allowed to post to your website via email by setting “Roles That Can Post” option. The Administrator gets that permission by default and can always publish posts on website via email.
The “Authorized Addresses” mode is where to type certain email addresses allowed to post to your website via email. And then, set an unregistered blog user from Default Posted drop-down list who is allowed to post from emails. The default user is admin.
In addition, there are more advanced features available in other tabs. The Message tab is where to customize the messages to be posted. That requires you to select a text type according to personal needs and modify the category settings. More customizable settings, like tags, post status, post format, post type and title, are used to set the default state of each post.
An eye-catching featured image can be a highlight of a post, for which gives prominence to the main idea so as to draw readers’ attention. The Image tab allows you to add featured image to each post. In this case, it is easy to make a decision on image location and generate thumbnails by changing certain options. Select a default template for the image and that works only if you set “Plain” for the “Preferred Text Type” via Message tab.
The Video and Audio allows you to embed video or audio into post. If you have installed a video plugin that requires you to insert video with shortcode, you should set “Yes” for the “Use shortcode for embedding video” option. Modify the template for video & audio and type file extensions as needed.
Add types to Supported MIME Types box via Attachments tab, which will be always supported. If there are some files to be banned on your website, type the names of files in Banned File Names box. The left settings are available for you to customize the attachment icon.
Test Postie Configuration
Click “Save Changes” to have all settings done. Move to the top of this setting page where shows you three buttons for testing Postie configuration. Click “Text Config” button and you will be turned to the Postie Configuration Test page.
If there is a message said “Successful POP3/IMAP/POP3-SSL/IMAP-SSL connection on port 110/143/995/993”, you have successfully configured this plugin and can get started to publish the first post via email. If not, you should turn back to Mailserver tab and reset all settings. Click “Reset Settings To Defaults” and fill out all fields one by one.
Since everything gets ready, send an email from your specified email address and then click “Run Postie” button to make it public on your website. Besides Postie plugin, there are some other options for the same purpose, like Post By Email, Post by Email in JetPack, and so on.