How to change the buddypress email reply to

  • Participant
    Level: Guru
    Posts: 885
    Tosin on #22631


    Please how can I change the (reply to) email in the buddypress email to noreply@website.com. The current reply to email is being directed to the admin. This for example shows in the buddypress account activation email sent on new account creation.


  • Participant
    Level: Guru
    Posts: 885
    Tosin on #22632

    I tried this but did not work in bp-custom.php

     add_filter( 'bp_email_set_reply_to', function( $retval ) {
        return new BP_Email_Recipient( 'noreply@nigerpress.com' );
    } ); 
  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #22639

    Hi Tosin,
    That code seems correct to me. Are you using any mail transport plugin like wp smtp etc?

You must be logged in to reply to this topic.

This topic is: not resolved