X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FEmailer.php;h=5e4d98d4c9e83e18ca46ebac609dd7e7d1b76658;hb=911ed3d6ba98149ed6d400d554e7a0e10bd1c273;hp=81a2ac268872a863a717cd51ba9c084d4331b33d;hpb=2f3f41ed9cdb4229d78bdf2f91b0617403a8dd62;p=friendica.git diff --git a/src/Util/Emailer.php b/src/Util/Emailer.php index 81a2ac2688..5e4d98d4c9 100644 --- a/src/Util/Emailer.php +++ b/src/Util/Emailer.php @@ -1,6 +1,6 @@ siteEmailAddress = $this->config->get('config', 'sender_email'); if (empty($this->siteEmailAddress)) { - $hostname = $this->baseUrl->getHostname(); + $hostname = $this->baseUrl->getHost(); if (strpos($hostname, ':')) { $hostname = substr($hostname, 0, strpos($hostname, ':')); }