Difference between revisions of "Post to your WordPress.org site using email"
Josephluis (Talk | contribs) |
Josephluis (Talk | contribs) |
||
Line 2: | Line 2: | ||
The following is a nice summary and comments by [http://www.bluehostforum.com/showthread.php?22867-Help-needed-with-Post-by-email-in-Wordpress neoscrib] of what is required for the default feature, after the first steps outlined in [http://codex.wordpress.org/Post_to_your_blog_using_email WordPress.org]. | The following is a nice summary and comments by [http://www.bluehostforum.com/showthread.php?22867-Help-needed-with-Post-by-email-in-Wordpress neoscrib] of what is required for the default feature, after the first steps outlined in [http://codex.wordpress.org/Post_to_your_blog_using_email WordPress.org]. | ||
+ | |||
+ | ---- | ||
You need to run wp-mail.php in your wordpress install directory. There's are several ways to do this. | You need to run wp-mail.php in your wordpress install directory. There's are several ways to do this. |
Revision as of 13:10, 25 October 2012
The default Post via Email feature only accepts plain text. An alternative is the Postie Plugin.
The following is a nice summary and comments by neoscrib of what is required for the default feature, after the first steps outlined in WordPress.org.
You need to run wp-mail.php in your wordpress install directory. There's are several ways to do this.
1. Manually browse to http://blog.example.com/wp-mail.php in a web browser. 2. Setup a cron job in your cpanel to execute the following command every so often.
wget -N http://blog.example.com/wp-mail.php
3. Setup a cron job in your cpanel to execute the following command every so often.
php /full/path/to/your/wp-mail.php
There are other ways, but those three are the easiest. I'd recommend the last option. The wp-mail.php scripts will only check mail at a maximum every 5 minutes. If you don't write very often, I'd recommend setting up your cron to run as infrequent as possible (once a day). If you do write frequenty, I'd recommend setting up the cron to run at a maximum every 15 minutes. You could do it more frequenty (but no more frequently than every 5 minutes, unless you edit wp-mail.php), but I don't see why you would need to.
If you've already done that, the only other things I can see is that you didn't mention in your original post setting the port number in the WordPress settings. The port should be 110 unless you want to use SSL, then you want port 995. If you do intend to use SSL then you'll want to change the server setting to ssl://mail.example.com. It looks like your email server and wordpress blog are on the same server so I'd actually recommend using localhost instead of mail.example.com.
Check also