diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/util.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 8e85f9afc3f..8514a168b46 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -256,6 +256,7 @@ class Util { * it would return 'lostpassword-noreply@example.com' */ public static function getDefaultEmailAddress($user_part) { + $user_part = \OC_Config::getValue('mail_from_address', $user_part); $host_name = self::getServerHostName(); $host_name = \OC_Config::getValue('mail_domain', $host_name); $defaultEmailAddress = $user_part.'@'.$host_name; |