AI Assistant
Notifications
Clear all

[Solved] How to change "email from"

3 Posts
3 Users
1 Reactions
1,821 Views
Posts: 8
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
(@germanjv)
Eminent Member
Joined: 5 years ago
[#16349]

Despite I wrote my email to the "email settings" inside the "email from" place, It's sending registration emails from wordpress@mysite.com

 

Any idea how to change it? Some emails go to spam and I think that can be the reason.

 

thanks in advance.


2 Replies
Tutrix
Posts: 1519
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
(@tutrix)
Noble Member
Joined: 6 years ago
st7878
Posts: 115
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
(@aima-forum)
Estimable Member
Joined: 6 years ago

i did so. add code to functions.php your theme

function custom_mail($email) { return 'no-reply@domen.com'; }
function custom_name($email){ return 'Forum bla bla bla'; }
add_filter('wp_mail_from', 'custom_mail');
add_filter('wp_mail_from_name', 'custom_name');

*no-reply@domen.com - the email you want (needed)

**Forum bla bla bla - this text will be displayed in the "email subject" field


Share: