Merge pull request #27199 from nextcloud/fix/26683/use-noreply-as-share-email

Use noreply@ as email address for share emails
This commit is contained in:
Morris Jobke 2021-05-28 13:40:12 +02:00 committed by GitHub
commit 77d6611fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -903,7 +903,7 @@ class Manager implements IManager {
$instanceName, $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 // 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. // also the default footer contains a "Do not reply" which needs to be adjusted.