wp-cron-mail.php replacement

** Installation **

Visit http://www.skippy.net/ to get the original wp-cron plugin which includes wp-cron-mail. Make sure you have a working wp-cron-mail installation from that source before proceeding.

(This is to ensure that your WordPress installation does not contain the Bug: http://wordpress.org/support/topic/58304#post-314450 )


Also, you can safely replace your wp-mail.php file with the one supplied here after installing this version of wp-cron-mail. (Make a backup just to be safe).

** Changes **

The following changes have been made over the original wp-cron-mail plugin:

1) Adds the option of specifying which categories the post should be placed in. This is accomplished by (optionally) having the first non-empty line of your email message be in the form of:

	{* Category Name, Another category name, catID *}
	
where "Category Name" can be any text. If the specified category exists it will be correctly identified, if not it will be created. catID needs to be the ID number of an existing category. You can use either method to define categories, or both of them together.

2) Limits posting to registered users only. When an email is received the plugin will try to match the Reply-To: address (or if that does not exist, the From: address) with all the emails of the registered users. If such an address is found, then the owner of that email address will be assigned as author (as with the default version of this plugin). Even though posting is strictly limited, the option to override this is provided either by allowing all email addresses, or by providing a list of allowed email addresses. With either of the last two options, if a message is posted from a non-registered email address, it will be marked as authored by the admin of the blog.

3) Added the ability to replace wp-mail.php with a single function call to take advantage of the wp-cron-mail improvements

4) Added an Options page in the admin section to manage a lot of the configurable options of this plugin





There are no warranties with this plugin. I have not changed the code from the original wp-cron-mail, merely added to it. It seems to be working, most of my posts are posted through this :)