]> git.mxchange.org Git - friendica.git/commitdiff
noreply should not be translate-able in email addresses
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 11 Apr 2018 06:17:44 +0000 (08:17 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 11 Apr 2018 06:17:44 +0000 (08:17 +0200)
src/App.php
src/Worker/Delivery.php

index 1acd35ac348c52ea8c10adf42d3b53cda0b999c7..d76351b97ac6a9db60470c9b7d999836ece1f799 100644 (file)
@@ -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;
index 88085357af0fb96f5cb0cd0652ccd6769c81b52f..c94d53f15341d5b01b6be388d394e4312918457e 100644 (file)
@@ -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') .' <noreply@'.$a->get_hostname() .'>'. "\n";
                                        }
 
                                        //if ($reply_to)