Support » Fixing WordPress » Blog by Email – posts stuck in “Pending Review”

  • I have been working to get the “Blog by Email” feature working, and have succeeded in having the emails get through (finally!).

    However, I understood that they would be instantly posted to the site once the Automated Browser Activation code is added to the footer.php file. I believe I added the code correctly to the file.
    The instructions say “Add this code to your footer, and the next time anyone goes to your blog, your new emails will be automatically posted, so you need to do nothing but send them. You may have to refresh the blog to see the changes.”

    The posts do not publish themselves automatically like I had wanted. Instead they are stuck in “Pending Review” under “Manage” from the Admin Panel.
    I have gone through all the Settings in the Admin Panel to see if I set something wrong, but can’t see anything relevant. I have disabled commenting on this site, but don’t think that would be the problem.

    Does anyone have experience with Blog by Email and have some suggestions to help me automatically publish the posts??

    Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • I am emailing from a different address than the one I specified for Admin purposes. Does that make a difference??

    No it doesn’t make a difference. I tried from two different email accounts and they were still stuck in pending review.

    I found a post with some fixes, and they seem to have worked for me!!!

    They talk about rewriting a word in the wp-mail.php file to ‘publish’ from ‘pending’.
    I just did the fix and it works perfectly for me now! whew!
    Before the fix, it seems to matter which email address you send from in order for the posts to be published automatically.

    I hope this helps!!!
    = )

    Nope, didn’t work for me. I didn’t have that line in my wp-mail.php file. What worked was creating a new user whose email address was the one that was set up with the special codes in order to post by email.

    It works in 2.5.1 – just make sure the ‘from’ address of your email is the same as one of your blog users (with appropriate privileges) – it will post as that author immediately.

    For what it’s worth, I found 2 instances of “$post_status = ‘pending’;” in my wp-mail.php (lines 131 and 134) that I changed to “$post_status = ‘publish’;” and emails sent to my email updates address from any email address, including gmail, are now posting automatically.

    Edited to add: I’m running version 2.5.1.

    Changing the pending status in wp-mail.php to publish is asking for trouble if anyone gets a hold of the email address you’re using to blog from. I’ve posted another solution here. Basically you have to register an account in WordPress the email address your blogging from and set it as “author”.

    I had problems with this too, but found some help here. Hope it works for you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Blog by Email – posts stuck in “Pending Review”’ is closed to new replies.