WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Post by Email vanished from Settings (13 posts)

  1. SilkCharm
    Member
    Posted 3 years ago #

    Hi I have a self hosted WordPress, version 3 or 3.0.1 and I go to Settings -> Writing and "Post by Email" is not there.
    It's driving me nuts.
    I have multi blog enabled, and buddypress. Have I turned it off somewhere? It's vanished completely. Writing Settings has Press This, Remote Publishing (Atom etc) and that's it. No mention of Post by Email at all.
    Have they moved it to another menu? I have looked but I reckon I'm losing the plot... :(
    Cheers :) Laurel

  2. SilkCharm
    Member
    Posted 3 years ago #

    What multisite has disabled (wp-includes/ms-default-filters.php) a plugin in "mu-plugins" can enable:

    <?php
    add_filter( 'enable_post_by_email_configuration', '__return_true' );
    ?>
    fixed. found another post (did search earlier but didn't find it then.

  3. Yes that is correct.

    By default in multisite post by email is disabled as it was in WordPress MU as you often want to handle it in a more scalable and automated fashion rather than have every user configure it individually

  4. Philippp
    Member
    Posted 3 years ago #

    So, how can I enable the post-by-Email-Feature again?

    Thanks!

    Philip

  5. Cerebral ideas
    Member
    Posted 3 years ago #

    @Philippp Go into your wordpress files via FTP and look in the folder 'wp-includes' for a file called 'ms-default-filters.php'. The second to last group of code is the post via email settings and they are set to false. Change that to true, and you should be good to go.

    Justin

  6. Go into your wordpress files via FTP and look in the folder 'wp-includes' for a file called 'ms-default-filters.php'. The second to last group of code is the post via email settings and they are set to false. Change that to true, and you should be good to go.

    No, No, No, No, Don't hack core like that as it will just get overwritten on an update.

    in an mu-plugin:

    add_filter( 'enable_post_by_email_configuration', '__return_true', 100 );

    That will enable it for you fine.

  7. Cerebral ideas
    Member
    Posted 3 years ago #

    @Peter

    in an mu-plugin:

    add_filter( 'enable_post_by_email_configuration', '__return_true', 100 );

    That will enable it for you fine.

    I don't think you are offering up enough practical information for someone to act on to solve this problem.

    If you are wanting someone to create their own plugin to turn this on, you need to offer up more details on how to accomplish this task. Correct me if I am wrong, but I think this is more usable ...

    @Phillippp -- What Peter wants you to do is write your own plugin so you can turn on this functionality without hacking the core files. Here is how you do it:

    First, create a plain text file called activate-pve.php (you can really call it anything, it just needs the .php at the end). Now, within this file add this:

    <?php
    /**
     * @package Activate_PVE
     * @version 1.0
     */
    /*
    Plugin Name: Activate Post via Email
    Plugin URI: http://wordpress.org
    Description: This activates the post via email functionality in a multisite network.
    Author: Anonymous
    Version: 1.0
    Author URI: http://wordpress.org
    */
    
    	add_filter( 'enable_post_by_email_configuration', '__return_true' );
    ?>

    Save this file and upload this into your plugins directory (root domain directory > wp-content > plugins). Once it is in there, you should be able to go to your WordPress backend and activate it in your plugin list.

    After that, you should be able to go to your Settings tab, then Writing, and the Post via Email option should show up for you. I hope this helps.

    Justin

  8. Philippp
    Member
    Posted 3 years ago #

    Hey!

    Great, works! Thanks for your help!

    Philip

  9. Cerebral ideas
    Member
    Posted 3 years ago #

    No problem. I wish they would have documented this better. It took me forever to figure out that it was default for it to be turned off for multisite.

    Justin

  10. Actually, what peter was suggesting was take that ONE line of code, toss it in a file just like you made, but without the plugin headers. put it in the MU-plugins folder. Boom, you're done.

  11. benjancewicz
    Member
    Posted 3 years ago #

    Thank you all for your help, Cerebral! I have been searching for days to find a post that explained how to actually fix it!!

  12. inweb
    Member
    Posted 3 years ago #

    I LOVE WordPress!! Everytime I have a little hiccup... I just stroll over here, take a quick peek & voila!... there's my answer!

    Thanks guys.... again

  13. venug
    Member
    Posted 2 years ago #

    This is the post I am looking for. I wanted to post by email and found this

    Thanks for the OP and others responded this. But I wanted to know why was the feature disabled in 'Multisite' environment

    What are the downsides and troubles if I enable the feature by using add_filter( 'enable_post_by_email_configuration', '__return_true' );

    Thanks for all !

Topic Closed

This topic has been closed to new replies.

About this Topic