314: Posting via Email to WordPress using the Postie Plugin
WordPress has built-in functionality to post to your website or blog using email however the Postie plugin makes it much easier and adds more functionality for adding images to your posts as well. With Postie, you can control how often WordPress checks for new email posts and even customize your categories from your post.
The first step when using the Postie plugin is to create an email address to be used solely for posting. This is very important that the email address you create is only used for posting since any email sent to that particular email adress will become a post on your WordPress website. For this very reason, it's important to create a unique email address that will be hard for other to guess. For this example, we're going to create an email account with random characters. Please see our article on how to create an email account for more information on creating an email email account in cPanel.
Next, you'll need to search for and install the plugin in your WordPress dashboard. Once the plugin is installed and activated, you'll need to configure the settings so Postie knows to check the email account you created above.
Click on Posite in the menu on the left side of the dashboard under Settings.
Mail Protocol: Choose whether you want to use IMAP or POP3 and if you want the connection to be made over SSL. The connection type and SSL usage wil change the port and/of mail server name as follows:
- POP3: 110
- POP3-SSL: 995
- IMAP: 143
- IMAP-SSL: 993
- non-SSL Mail Server: youdomainname.com
- SSL Mail Server: secure###.inmotionhosting.com (This is if you are on a shared server. If you are a VPS or Dedicated customer or have your own SSL it may be different)
Postie Time Correction: If you have adjusted your WordPress Settings to relfect a UTC time offset, you will want to choose the same offset here for Postie.
Mail UserID: Use the full email address you created above.
Mail Password: The password you created for this email address.
Check for mail every: Tell Postie how often to check the email address for emails
Delete email after posting: It's best to select yes so the Inbox for that email address will stay clear and not fill up over time.
Click "Save Changes".
Next, click on the Test Config button to test your mailserver settings.
Once you see the Result Yes message, you know your mail server settings are correct. The other tabs within Postie allow you to customize Postie even further but are not required. It is important to note if you send an email from any account that is not your admin email to your postie email address, it will not allow the post. You can add the email address under authorized addresses or allow anyone to post via email.
Now, that we've tested Postie for our settings, let's make sure it works by sending an email to our special email address.
Now, let's look at our website to see the post.
‹Section 41: 316: Using InMotion Hosting's Memory Viewer WordPress Plugin
›Section 43: 327: How to remove the blog posts page in WordPress