WordPress.org

Ready to get started?Download WordPress

Forums

Post by email as draft (5 posts)

  1. philgreen
    Member
    Posted 5 years ago #

    I would like to set it up so that when I post via e-mail, my posts are drafts by default. Is there a way to do this that you guys know of?

  2. jabecker
    Member
    Posted 5 years ago #

    Have you tried it? I posted by email and my post was marked "held for review" and not published. I don't know that I did anything special to make it do this.

  3. jamesharry
    Member
    Posted 5 years ago #

    I have the opposite problem... I want my emails to publish, but they show up as drafts. I suspect the answer to philgreen's question will also solve mine.

    thx!

  4. schaef2493
    Member
    Posted 5 years ago #

    To the OP, go ahead and install the WP plugin Postie. It offers more features than the post by email module that is included with WordPress.

    After you download it, open up the Postie folder and locate postie-functions.php. On line 63, you're going to want to change 'post_status' => 'publish' to 'post_status' => 'draft'.

    Next, just upload it to your site and configure it via the options panel. All posts received by Postie will then be marked as a draft.

  5. Begin
    Member
    Posted 4 years ago #

    There is a simple way that I used because I dont like that postie,
    that is just to change one line (one wordactuly) in your wp-mail.php file
    (weich is in your root directory where you installed wordpress):

    go to the line:
    $post_status = ( $user->has_cap('publish_posts') ) ? 'publish' : 'pending';

    and change it to:
    $post_status = ( $user->has_cap('publish_posts') ) ? 'pending' : 'pending';

Topic Closed

This topic has been closed to new replies.

About this Topic