Notifications
Clear all

wpForo 1.x.x [Solved] How to change email sender name from WordPress to my site name

5 Posts
2 Users
3 Likes
805 Views
Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 1 year ago

Users are getting email sender name as WordPress instead of my site name whenever they register and are to get a reset password link

Please it is very urgent

At the dashboard side I already change the name to my site name but still it not working

 

Thanks....

@chris @robert

Topic Tags
4 Replies
Chris
Posts: 2699
Admin
(@chris)
Support Team
Joined: 2 years ago

Hi @coconut,

All emails (excerpt user registration) related to forum, are sent from the Email you configured in the Forums > Settings > Emails admin page. User registration process is under WordPress control, not wpForo. wpForo only provides with registration form, other processes are performed by WordPress. And yes, this is a known issue of WordPress. This is the default WordPress email. You should change it using some hooks like this:

add_filter( 'wp_mail_from', function( $name ) {return 'info@mydomain.com' ; } ) ;
add_filter( 'wp_mail_from_name', function( $name ) {return 'My Forum name' ; } ) ;

Change the red marked strings and put this code in your current active theme functions.php file. Make sure you hadn't deleted the apostrophe before and after the strings.

More info about this issue:  http://www.wpbeginner.com/plugins/how-to-change-sender-name-in-outgoing-wordpress-email/

Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 1 year ago

I don't understand the red mark part....

Beginner here...

I would just stick the mail for now then 

I already made it displays my forum name first...

I will come back for this when am less busy

Thanks for the quick response

1 Reply
Chris
Admin
(@chris)
Joined: 2 years ago

Support Team
Posts: 2699

@coconut,

Just edited my post.

Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 1 year ago

Thanks