Students seeing each others' email addresses in forum emails (Moodle 2.3.2)

Students seeing each others' email addresses in forum emails (Moodle 2.3.2)

by Richard Crawford -
Number of replies: 2

Moodle 2.3.2. Because of heavy code customizations, upgrading is not possible.

I have "Use email address in reply" unchecked in Forum settings, as well as $CFG->noreplyaddress set in my config.php file, and "Hide email" is set for every user. However, when forum notifications are sent out, the users' email addresses are still showing up in the "From:" and "Reply-to:" fields. Why is this happening, and how can I change this behavior? We want our users participating in the forums and using JMail to communicate with each other within their course, rather than individual emails.

 

Average of ratings: -
In reply to Richard Crawford

Re: Students seeing each others' email addresses in forum emails (Moodle 2.3.2)

by Richard Crawford -

[Bump]

Has anyone had this problem before?

In reply to Richard Crawford

Re: Students seeing each others' email addresses in forum emails (Moodle 2.3.2) - RESOLVED

by Richard Crawford -

I'm sure there's a better way to do this, but I ended up altering source code. I added the following lines to the file /mod/forum/lib.php:

// DLC HACK 2013-07-15 rsc
// Make sure the "no reply" email address is used
$userfrom->email = $CFG->noreplyaddress;
// END HACK

around about line 703.