Notifications
Clear all

wpForo 1.x.x [Closed] Only one admin email send?

3 Posts
2 Users
0 Reactions
730 Views
Posts: 19
Topic starter
(@herwin)
Eminent Member
Joined: 5 years ago

Hi, I have configured a list of multiple admin addresses (comma separated) in the "Forum Admins email addresses" field to be used for notifications (such as a post report). However, an email is send only to the first email address in the list. (if i change the order, the first one is selected all the time). Is this a known issue, or has has it to do with the email component that wpforo uses? Orr anyone knows what it could be? Thanks! 

2 Replies
Sofy
Posts: 4772
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @herwin,

Please follow the steps below:

1. Edit the wp-content/plugins/wpforo/wpf-includes/wpf-hooks.php file

2. Find the function wpf_report() 

3. In the function find the following line 

$headers = wpforo_mail_headers()

replace it with this one:

$headers = wpforo_admin_mail_headers();
1 Reply
(@herwin)
Joined: 5 years ago

Eminent Member
Posts: 19

@sofy

Thanks! I will try this