Installation

Automating checking e-mail

WordPress cron (which Postie relies on) doesn't run unless a page is accessed on the site. So if you send an email, but nobody accesses the site for 3 days Postie won't be given the chance to fetch the email and publish the post.

To ensure that Postie runs smoothly on a low or no volume site you need to ensure that a page gets hit (any page is fine). Use something like cron + curl on Linux or install curl on Windows and use the Scheduled Tasks control panel. If you are using a hosting company that doesn't allow you access to cron you can use a service like SetCronJob.

By default, postie checks for new e-mail every 30 minutes. You can select from a number of different checking intervals in the settings page, under the Mailserver tab.

Forcing e-mail check

If you would prefer to have more fine-grained control of how postie checks for mail, you can also set up a crontab. This is for advanced users only.

Setup a cronjob to pull down the get_mail.php - note that every time you access get_mail.php Postie will run - it is like clicking Run Postie on the Admin screen.

Linux

If your site runs on a UNIX/linux server, and you have shell access, you can enable mail checking using cron.

Examples:

*/5 * * * * /usr/bin/lynx --source http://blog.robfelty.com/wp-content/plugins/postie/get_mail.php >/dev/null 2>&1

This fetches the mail every five minutes with lynx

*/10 * * * * /usr/bin/wget -O /dev/null http://blog.robfelty.com/wp-content/plugins/postie/get_mail.php >/dev/null 2>&1

This fetches the mail every ten minutes with wget

Windows

You will need to install wget or curl Then use the Task Scheduler control panel to call wget or cron.


Upgrade Notice

1.5.14
The postie_post filter has be deprecated in favor of postie_post_before.
1.5.3
Postie can now set the first image in an email to be the "Featured" image. There is a new setting "Use First Image as Featured Image" which is off by default. Postie now supports Use Transport Layer Security (TLS)
1.5.0
New filter postie_filter_email. Used to map "from" to any other email. Allows custom user mapping.
1.4.41
Post format is now supported. You can specify any of the WordPress supported post formats using the Post type syntax. Post status can now be specified using the status: tag. Post status setting was renamed to Default Post Status and moved to the Message tab.
1.4.10
All script, style and body tags are stripped from html emails.
1.4.6
Attachments are now processed in the order they were attached.

Usage

Specifying Beginning and Ending of Post

Post Status

Post Date

Comment Control

Post Excerpt

Post type/format

You can specify the post type or format by including it as the first part of the subject. E.g. aside//real subject

Categories

Tags

Image Handling

Interoperability