Support » Plugin: bbPress Notify (No Spam) » Issue: Plugin changes the default noreply@ to admin email

  • Resolved celticfoxherbal


    Hi there,
    There is a strange thing here happening. I love this plugin.

    By default, BBpress is sending notifications to subscribed posts as noreply@mydomain
    However, upon activating the BBpress Nofity plugin and setting my notification settings, it uses my main wordpress “admin” email from the general settings. And it says sent via “anotherdomain” instead of my usual web server domain.
    “anotherdomain” happens to be my main Cpanel domain – in which I have this website hosted.
    I’m not sure how or where it’s getting this information from, and why BBpress notify is using my General settings admin email, but it doesn’t look good. Google shows a warning when the sent from email doesn’t match the domain in question.

    Any ideas? Do you have a way to actually use the defaul WP mail rather than whatever the plugin appears to be doing?
    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Vinny


    Hi @celticfoxherbal,

    Thanks for reaching out. By default, bbpnns does use the value from admin_email. It can be changed with the following filter:

    add_filter( 'bbpnns_extra_headers', 'my_bbpnns_from_email', 10, 4 );
    function my_bbpnns_from_email( $headers, $recipients, $subject, $body  )
        foreach ( $headers as &$header )
            if ( 'From:' === substr( $header, 0, 5) )
                $header = 'From: "Foo Bar" <>'; // Change the name and email here.
        return $headers;




    Thank you for the quick reply.
    I tried this in my functions and it didn’t work. Is there anywhere specific Im to add this filter to?



    Ok, I got this sorted.
    I realise now that Woocommerce’s email notification system was overriding Notify – And it was set to the admin email, which fixed the issue once I changed it.
    It must have some kind of priority over the mail delegation as it changes it across all plugins.

    Plugin Author Vinny


    Thanks, it’s good to know that!

    Thank you for this very important information! I have been preparing to rebuild a site that may include Woocommerce and also a bbPress forum. Knowing this is a huge help and time saver!

    Happy to share. It took me a while flicking plugins on and off till I figured it out.
    The location for changing this email is Woocommerce -> Settings – > Emails tab.
    Scroll to the very bottom of that page, beyond the email templates, and it has a “From” and “Reply-to” field for the shop.
    This is what overrides the default mail settings for BBpress & BBpress Notify plugins.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.