Commit 89caa5a6 authored by Marius Cramer's avatar Marius Cramer
Browse files

Fixed: FS#3265 - Invalid message-id in mails sent with the internal ISPConfig mail library

parent 7452b296
......@@ -223,6 +223,7 @@ class ispcmail {
elseif(isset($_SERVER['SERVER_NAME'])) $this->smtp_helo = $_SERVER['SERVER_NAME'];
else $this->smtp_helo = php_uname('n');
if($this->smtp_helo == '') $this->smtp_helo = 'localhost';
return $this->smtp_helo;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment