Merge pull request #27208 from nextcloud/backport/27199/stable21
[stable21] Use noreply@ as email address for share emails
This commit is contained in:
commit
b1fdb4a86e
|
@ -911,7 +911,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.
|
||||||
|
|
Loading…
Reference in New Issue