Skip to content

Commit

Permalink
Merge pull request #21 from IQSS/email_sender_overwrite
Browse files Browse the repository at this point in the history
Update email sender name and add reply-to address in PPREmailSenderOv…
  • Loading branch information
jp-tosca authored Jan 13, 2025
2 parents 0c07113 + 248fff9 commit 17433e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pprOjsPlugin/services/email/PPREmailSenderOverwrite.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 17433e1

Please sign in to comment.