AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Solved] How to change email sender name from WordPress to my site name

5 Posts
2 Users
3 Reactions
3,557 Views
Posts: 54
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@coconut)
Trusted Member
Joined: 4 years ago
[#19305]

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: 3610
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@chris)
Famed Member
Joined: 5 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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@coconut)
Trusted Member
Joined: 4 years 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
(@chris)
Joined: 5 years ago

Famed Member
Posts: 3610
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@coconut,

Just edited my post.


Posts: 54
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@coconut)
Trusted Member
Joined: 4 years ago

Thanks


Share: