Skip to content

Commit

Permalink
Merge pull request #27209 from nextcloud/backport/27199/stable20
Browse files Browse the repository at this point in the history
[stable20] Use noreply@ as email address for share emails
  • Loading branch information
MorrisJobke authored Jun 7, 2021
2 parents c827511 + d1e5039 commit 16ae1e8
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 @@ -910,7 +910,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 16ae1e8

Please sign in to comment.