• Resolved RenoJohn

    (@renojohn)


    SHORT STORY:
    post by email has been working flawlessly for a year. Upgraded to 2.7 and now it doesn’t work anymore. Correct server info/configuration came through after upgrade and is correct. I’m at a loss.

    LONG STORY:
    After flawless results with post by email, after upgrade to 2.7 it stopped working. All configuration is consistent with before and of course correct.

    I have even created another pop3 on a different server/domain and tested with that in case 2.7 for whatever reason didn’t like my primary email server. Same results -WP not posting via email.

    I am very much at a loss as to what to do or where to go for help. Any advice, suggestions fixes appreciated more than you know. My blog is a traveling blog and 99% of posts are done from my blackberry via email.

    Thanks much!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter RenoJohn

    (@renojohn)

    I continue to work on this and no success. Would really appreciate any help from others who had problem.

    I can run wp-mail.php from a browser and it does indeed retrieve the email from the pop3
    -but this currently has to be done manually
    -it is putting the retrieved messages into “pending” category which I don’t want. (yes the ‘from’ email is the same as my admin email)

    Is anyone successfully using post via email with 2.7? If so is there something that needs to be done differently? Very odd how this was working so perfectly and then all these problems after the upgrade.

    Thanks in advance for any help advice …..John

    Thread Starter RenoJohn

    (@renojohn)

    After too much screwing around I finally got things going.

    ** added a command in the footer to force wp-mail.php when pages are loaded. This will work but I want to do a true cron job in the future.

    ** was still having trouble even after creating and modifying users with the email addy’s that I’d be sending updates from. Weird inconsistencies so I modified the wp-mail.php file …changed every instance of “pending” to “publish” and that seems to have worked.

    I’m sure better fixes, but for me this will get the job done.

    This fix is the only one I can find. Could you provide step-by-step what you did to force wp-mail.php to run and change pending to publish?

    When and how often does it check the pop mailbox?

    Thanks in advance.

    Thread Starter RenoJohn

    (@renojohn)

    To force wp-mail go i put this

    <iframe src=”PATH TO /wp-mail.php” name=”mailiframe” width=”0″ height=”0″ frameborder=”0″ scrolling=”no” title=””></iframe>

    code in the footer.php file under the theme directory. This checks email every time the page is opened, ..but that means a refresh of the page may be necessary.

    I would rather have this done by a cron job and done on a regular schedule. But, don’t know how to do that and looking for help (**hint!**)

    As far as pending to publish, I went into the mail-php file and changed all (3) references of “pending” to publish. I’m sure code guru’s are grimacing but it seems to have done the job.

    ***I’m having issues with:
    – all posts from email are time-stamped 16hours in the future. …..I can’t figure it out ..**any help appreciated**. It is only posts orginating from email.

    Thread Starter RenoJohn

    (@renojohn)

    as far as the wp-mail posts being time-stamped in the future, I’ve posted my results here (clicky):

    Thanks for the info. Note: you may want to check with your webhosting company. Mine is Dreamhost and I can add cron jobs via their control panel. Good luck.

    Hi all

    I read the posts above and here is what worked for me. We had the same issue of not being able to post by e-mail after upgrading to 2.7.1

    They put some code in the wp-mail.php file that says if the sender is not in the database then the post is marked “pending” instead of “publish”

    If you go into the file on line 139-143 replace the two entries that say pending and change them to publish. The finished lines are below.Hope it helps.

    $post_status = ( $user->has_cap(‘publish_posts’) ) ? ‘publish’ : ‘publish’;
    } else {
    // Author not found in DB, set status to pending. Author already set to admin.
    $post_status = ‘publish’;
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Post by email stopped working after upgrade’ is closed to new replies.