diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 5cb51dd0ad..3915da76fe 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.