Hi,
I understand that since OJS version 2.4.6 there had changes to the way emails are sent out to better conform to SPF (Sender Policy Framework) rules.
The system will set the email’s FROM address to be context’s principal contact setting in Journal Setup Step 1.2 and or site administrator, depending on if we are at the site level, or a more specific context level. The email’s REPLY-TO will be the user sending the message.
In the case of notification emails, the email’s FROM address is the context’s principal contact of the journal setting in Journal Setup Step 1.2, that I understand and I accept.
But the email’s REPLY-TO is the context’s principal contact of site administrator setting in User Home → Site Administrator → Site Settings. And I don’t want it. Is there a way to change this behaviour to have in both case the context’s principal contact of the journal ?
I found it’s defined in file “lib/pkp/classes/notification/PKPNotificationManager.inc.php” in the code below:
$mail->setReplyTo($site->getLocalizedContactEmail(), $site->getLocalizedContactName());
Thans in advance for your answer.
Hélène