Skip to content

Commit

Permalink
Merge pull request #27199 from nextcloud/fix/26683/use-noreply-as-sha…
Browse files Browse the repository at this point in the history
…re-email

Use noreply@ as email address for share emails
  • Loading branch information
MorrisJobke authored May 28, 2021
2 parents 018e18b + dc9bdd4 commit 77d6611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Share20/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ protected function sendMailNotification(IL10N $l,
$instanceName,
]
);
$message->setFrom([\OCP\Util::getDefaultEmailAddress($instanceName) => $senderName]);
$message->setFrom([\OCP\Util::getDefaultEmailAddress('noreply') => $senderName]);

// The "Reply-To" is set to the sharer if an mail address is configured
// also the default footer contains a "Do not reply" which needs to be adjusted.
Expand Down

0 comments on commit 77d6611

Please sign in to comment.