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.4.18
Many method names have been changed. Any custom filters may need to be updated.
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 Date

Comment Control

Post Excerpt

Post type

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

Categories

Tags

Image Handling

Note you can only use this feature if your "Preferred Text Type" is set to "plain"

Interoperability

Extending