Skip to content

Commit

Permalink
Update email sender name and add reply-to address in PPREmailSenderOv…
Browse files Browse the repository at this point in the history
…erwrite
  • Loading branch information
jp-tosca committed Jan 13, 2025
1 parent 320cdd1 commit 248fff9
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 248fff9

Please sign in to comment.