Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I host a site for a person that does everything via blackberry and wants to email posts to the site. She has sent one post to the designated mailbox, but 24 hours later the post is still not showing. Where do I start checking what is going wrong in the process?

share|improve this question
add comment

4 Answers

You're obviously posting it to a mailbox that WordPress is accessing, so check the mailbox that your friend has sent an email to, if the email is still in there then WP hasn't taken it out and thus your email settings in WP are probably wrong. If the email isn't in there your friend has probably sent it to the wrong address, not sent it at all or WP may not have read it correctly.

This is just the first step into determining the problem, tell us how you get on.

share|improve this answer
    
Those were the first things I checked. There is email in the mailbox, so WordPress is not fetching it, I've triple checked the mail details(server, user name, password, port) all is correct. Is there some kind of event log somewhere I can check for error messages? –  baldy Aug 19 '10 at 17:02
add comment

According to this article, you need to add an i-frame to your footer.php file that will call wp-mail.php whenever your site is loaded. Apparently this file will process your inbox and create the posts. This isn't mentioned in the documentation. I've tried the setup, the mail got removed from the inbox, and the post got created, in a pending state. Not quite what the config page says...

share|improve this answer
    
And the mail also did not get decoded... –  baldy Aug 19 '10 at 17:28
    
Looks like post by email is something an admin needs first to really dig into, configure and fix a lot before it's working. I never did work with it, but I think to have such a feature working is something really nice. –  hakre Aug 20 '10 at 9:48
add comment

Did you check if wp-cron is running ? How often is your site is "visited" ?

I would suggest using the Postie Plugin, instead using the one that comes default. Postie has tons of features and you can add your post-email processing as a hook.

share|improve this answer
    
I'll give Postie a try, if you look at my answer, that's as far as I got. –  baldy Sep 30 '10 at 19:03
add comment

There is a great service called posterous - http://posterous.com/ - that makes this very easy, and your client will appreciate (it also does facebook, tweets, etc)

to post to WP by email uses xml-rpc - I have run into situations where certain hosts restrict this file in the security configuration, I would start there.

share|improve this answer
    
I think this suggestion is flawed, you don't know the client requirements, it's a WP Q&A site, not a Posterous sales pitch. –  Ben Everard Aug 20 '10 at 7:41
    
@ILMV - regarding the fact that there are problems with WP I think it's always worth to know about alternatives as well. This has nothing to do with a sales pitch. –  hakre Sep 16 '10 at 15:34
    
Thanks for the alternatives, I use poseterous myself, but don't want to confuse the client with yet another option –  baldy Sep 30 '10 at 19:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.