PHP Code

Post to multiple WordPress Blogs by email

This extension of the original WordPress code allows you to post to multiple blogs by email. Normally when you post by email, the post is deleted.

This plugin solves that. It skips the deletion step, thus all emails are stored on the server to be posted on your other blog. But to prevent the same blog from posting the same email twice, it checks first to see if the post exists before posting an email.

Here's a link to the file to Blog by email. It's named wp-mail.txt. Just download, rename, backup your default /wp-mail.php file, and overwrite it with this one.

Automatic Posting
You can create a cron job to automatically check for new emails to post. Simply create a cron with this command:
wget -N http://your-domain.com/wp-mail.php

I schedule mine to run every 10 minutes

Share

5 Comments

  1. Article in 27 Blogs

    Justin,

    You have done it again. A true champion

  2. does this work with free WordPress blogs like today.com, wordpress.com & blogbeee.com? I can't seem to get it to work…

  3. It only works where you're able to overwrite the default wp-mail.php mail file in wordpress

  4. Thanks for this article and the file! I have several blogs that I want to post the same articles too so this will help immensely!

  5. Is there a way to check for a category in the content? It's now done in the title i like the check to be in the content section?

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image