Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

How to change comment notifications address (mail)?


dm1
 dm1
(@dm1)
Eminent Member
Joined: 3 years ago
Posts: 32
Topic starter  

Good day.

For mailing, I use the Amazon SES service and the WP Offload SES plugin for it. The "notification address" (WordPress Notification Email) is the address of notification@domail.com. As the "Reply To" address, notification@domail.com is also used.

All letters to users (about registration, password change, payment for access) come from notification@domail.com. But all new comment notifications (with WP Discuz plugin) come from no-reply@domain.com. Such emails are sent by some mail services in the "Sibscribes" (Newsletters) folder (this is almost like spam).

Amazon SES does not recommend using the address no-reply@domain.com and may block for their use.

How to make comment notifications (with WP Discuz plugin) go from notification@domail.com?


Quote
dm1
 dm1
(@dm1)
Eminent Member
Joined: 3 years ago
Posts: 32
Topic starter  

Some more info. When I put the WPDiscuz plugin, I still had (may be) the address of the no-reply@domain.com as the sender. Perhaps the WPDiscuz plugin remembered it.

After that, the notification@domail.com address is always used for sending.


ReplyQuote
Astghik
(@astgh)
Support Team Admin
Joined: 4 years ago
Posts: 5060
 

Hi @dm1,

I'm going to ask the developers how we can help you in this case.  I'll update the topic within 4-5 hours. 


ReplyQuote
Astghik
(@astgh)
Support Team Admin
Joined: 4 years ago
Posts: 5060
 

@dm1,

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. 


ReplyQuote
Share:
Scroll to top