aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-05-28 13:40:12 +0200
committerGitHub <noreply@github.com>2021-05-28 13:40:12 +0200
commit77d6611fa0d7622da611680dfe9b7dbd4d0c056d (patch)
treee7c696aa5bdbd53329f9866320216078600c7ecc /lib
parent018e18bf8a950b50713a69d6114a803bbdcf23b1 (diff)
parentdc9bdd4f39f529858e9c1a7a872a40b3fc46d77a (diff)
downloadnextcloud-server-77d6611fa0d7622da611680dfe9b7dbd4d0c056d.tar.gz
nextcloud-server-77d6611fa0d7622da611680dfe9b7dbd4d0c056d.zip
Merge pull request #27199 from nextcloud/fix/26683/use-noreply-as-share-email
Use noreply@ as email address for share emails
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Share20/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 5cb51dd0ad5..3915da76fea 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -903,7 +903,7 @@ class Manager implements IManager {
$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.