Support » Plugins » Post by email as draft

  • philgreen


    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • jabecker


    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.



    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.




    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.

    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';

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post by email as draft’ is closed to new replies.