From 248fff9b292ea7e966e28283e4225f9229de2964 Mon Sep 17 00:00:00 2001 From: Juan Pablo Tosca Villanueva Date: Mon, 13 Jan 2025 14:03:39 -0500 Subject: [PATCH] Update email sender name and add reply-to address in PPREmailSenderOverwrite --- pprOjsPlugin/services/email/PPREmailSenderOverwrite.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pprOjsPlugin/services/email/PPREmailSenderOverwrite.inc.php b/pprOjsPlugin/services/email/PPREmailSenderOverwrite.inc.php index c832bef..cdf991b 100644 --- a/pprOjsPlugin/services/email/PPREmailSenderOverwrite.inc.php +++ b/pprOjsPlugin/services/email/PPREmailSenderOverwrite.inc.php @@ -29,7 +29,8 @@ function overwriteSender($hookName, $hookArgs) { $globalEmailSender = $this->pprPlugin->getPluginSettings()->globalEmailSender(); $mail = $hookArgs[0]; - $mail->setFrom($globalEmailSender, 'Peer Pre-Review'); + $mail->setFrom($globalEmailSender, 'Harvard Peer Pre-Review'); + $mail->setReplyTo($globalEmailSender, 'Harvard Peer Pre-Review'); return false; }