Tagged: buddypress, change default wordpress email
Hi,
The Buddypress email notifications sent to members uses the wordpress@sitedomain.com email.
How can the default WordPress email for Buddypress email notifications be changed?
wordpress@sitedomain.com to name@sitedomain.comI have done days of research, tried code and plugins and no luck. Even tried changing the code directly in pluggable.php file. Still shows wordpress@sitedomain.com in the from: label and in the email header.
Thanks
Hi Chris,
Welcome to BuddyDev.Please put the following code in your bp-custom.php
function buddydev_set_bp_email_from( $from, $email_address, $name ) { $from = new BP_Email_Recipient( 'name@sitedomain.com', $name ); return $from; } add_filter( 'bp_email_set_from', 'buddydev_set_bp_email_from', 10, 3 );
Please do let me know if it works for you or not?
Thank you
BrajeshHi Chris,
Thank you confirming.Have a great time building your social network 🙂
Regards
Brajesh
The topic ‘ [Resolved] How to change Default@wordpress.com in Buddypress’ is closed to new replies.