diff --git a/src/App.php b/src/App.php index 1acd35ac3..d76351b97 100644 --- a/src/App.php +++ b/src/App.php @@ -1062,7 +1062,7 @@ class App $hostname = substr($hostname, 0, strpos($hostname, ':')); } - $sender_email = L10n::t('noreply') . '@' . $hostname; + $sender_email = 'noreply@' . $hostname; } return $sender_email; diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index 88085357a..0a71e6ce2 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -399,7 +399,7 @@ class Delivery { $headers = 'From: '.Email::encodeHeader($local_user[0]['username'],'UTF-8').' <'.$local_user[0]['email'].'>'."\n"; } } else { - $headers = 'From: '. Email::encodeHeader($local_user[0]['username'],'UTF-8') .' <'. L10n::t('noreply') .'@'.$a->get_hostname() .'>'. "\n"; + $headers = 'From: '. Email::encodeHeader($local_user[0]['username'], 'UTF-8') . ' get_hostname() . '>' . "\n"; } //if ($reply_to)