wpDiscuz - WordPress Comment Plugin
Change no-reply in ...
 
Share:
Notifications
Clear all

[Solved] Change no-reply in e-mail message


Alex S
Posts: 2
Topic starter
(@alex-s)
New Member
Joined: 1 year ago

Hi!

Now in e-mail on subscription address has the form

no-reply@nameWWW.com

How i can change adress?

I wanna, for example, TEXT@nameWWW.com

thnks

Topic Tags
2 Replies
Asti
Posts: 3567
 Asti
Support
(@asti)
Support member
Joined: 4 years ago

Hi @alex-s,

This code should help you to solve the issue.  Add the code in your current active theme's functions.php file: 

add_filter('wp_mail_from', function ($email){
return 'no-reply@blogname.com';
});

Don't forget to change the red marked code (set the right email) before using. 

1 Reply
Alex S
(@alex-s)
Joined: 1 year ago

New Member
Posts: 2

@asti

big thnks

))

Share: