Notifications
Clear all

[Solved] issue with From email Address

4 Posts
2 Users
1 Likes
1,256 Views
Posts: 2
Customer
Topic starter
(@michaelhyattco)
Member
Joined: 5 years ago

Was this ever fixed? We are using WP Discuz & the Mentions add on. It looks like the Mentions are coming from my email address since I'm the main admin listed on the site, but we need them to come from a no-reply address. How do I fix this??

3 Replies
Astghik
Posts: 5912
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

Hi @michaelhyattco,

This issue is already fixed in the wpDiscuz plugin. The problem comes from the wpDiscuz User & Comment Mentioning add-on. We'll fix it in the upcoming version of the wpDiscuz User & Comment Mentioning add-on. 

Astghik
Posts: 5912
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

@michaelhyattco,

As a temporary solution please add the following 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
Customer
(@michaelhyattco)
Joined: 5 years ago

Member
Posts: 2

Perfect - thanks so much!

Share:
Scroll to top