Skip to content

Commit

Permalink
Update global email sender address in configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-tosca committed Jan 13, 2025
1 parent ae59523 commit d6135a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function overwriteSender($hookName, $hookArgs) {

$mail = $hookArgs[0];
$mail->setFrom($globalEmailSender, 'Peer Pre-Review');
//$mail->setFrom('[email protected]', 'Peer Pre-Review');
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion pprOjsPlugin/tests/src/settings/PPRPluginSettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function test_default_values() {
'reviewerSurveyHtml' => [null, null],
'accessKeyLifeTime' => [null, 30],
'fileUploadTextOverrideEnabled' => [null, null],
'globalEmailSender' => [null, '[email protected]'],
'globalEmailSender' => [null, 'peerprereview@pre-review.iq.harvard.edu'],
);

foreach (PPRPluginSettings::CONFIG_VARS as $configVar => $varInfo) {
Expand Down

0 comments on commit d6135a8

Please sign in to comment.