Skip to content

Commit b1fdb4a

Browse files
authored
Merge pull request #27208 from nextcloud/backport/27199/stable21
[stable21] Use noreply@ as email address for share emails
2 parents 631a388 + a187706 commit b1fdb4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Share20/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ protected function sendMailNotification(IL10N $l,
911911
$instanceName
912912
]
913913
);
914-
$message->setFrom([\OCP\Util::getDefaultEmailAddress($instanceName) => $senderName]);
914+
$message->setFrom([\OCP\Util::getDefaultEmailAddress('noreply') => $senderName]);
915915

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

0 commit comments

Comments
 (0)