Thursday, August 9, 2012

How to configure WordPress to post emails

ISSUE:

How to send an email to post to your wordpess blog, in other words how to post to your blog using email

WARNING this does not support SSL so Gmail.com account will not work in my examples I used an email account with Godaddy and also PowerDNN

Client was getting press releases and posting them to his wordpress blog, however that takes up a lot of time as he has to take the email create a word document and finally copy and paste it into the wordpress log.

Wouldn't it be nice to just have the emails just post them self's.
Wouldn't it be even nicer to just have the website update anything that you email to it.
This is not a perfect world but wordpress tries to accommodate, so I'm here to post how it's done.
There a lot of technical gorgon if you search on this topic on the web or Google and I just want to make it simple and easy for you to accomplish this task, don't worry I will not tell anyone that you are a Newbee

Here are some of the sites that provide a more detail explanation on how to do this in case you get stuck or want to spend endless hours drowning/reading
http://codex.wordpress.org/Post_to_your_blog_using_email


The Quick simple way is here:

1. go to your dashboard under settings click "writing"
2. look at the section: Post via e-mail 
3. Create a new email account using the name that are give under the Post via e-mail section:

Post via e-mail

To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: crXwewUJaahqwdavQu1fpOzeqdqMuLSp.
so in this example it would be something like crXwewUJaa@yourdomain.com
WARNING this does not support SSL so Gmail.com (ssl://pop.gmail.com didn't work this will only work if your .php code is modified to use SSL ) account will not work in my examples I used an email account with Godaddy and also PowerDNN

3. Add a  new user with that email address crXwewUJaa@yourdomain.com as an editor or administrator

4. Add another user with the email address you plan to send from

5. Send a message to crXwewUJaa@yourdomain.com 

6. Then you can go to http://yourdomain.com/wp-mail.php
and if your lucky you will see the subject line and email that you sent to it.

However most of us will get some errors as I did, the most annoying one is:

Slow down cowboy, no need to check for new mails so often!

This happens when you try to refresh the email page to quick and there is no new messages in your blog another way to check is by going to your ALL post page and seeing if there is anything new.

you might also get:

POP3 connect: Error [13] [Permission denied]

This is because 1 your using SSL, 2 your settings are not configured properly, 3 your email account is not authorized to send to the blog so the user sending the email is not in the user database

let me know if you have any issues with it and I will help







1 comment:

  1. I cannot seem to get this to work. Here is my website: www.bohringer.com/wordpress

    I have the email account setup, and I can login to the webmail and receive the emails just fine, but when I send to the account, nothing happens in wordpress and I get the "slow down cowboy" message.

    Any help would be greatly appreciated!

    Thanks.

    ReplyDelete

Translate