From f9b06f359b1a971c5233d669a4e8268349934aef Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sat, 22 Jul 2023 13:27:29 +0200 Subject: [PATCH] When restoring the email use SMTP_DOMAIN when sending EHLO Signed-off-by: Janos SUTO --- webui/model/mail/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/mail/mail.php b/webui/model/mail/mail.php index f5893429..4328e117 100644 --- a/webui/model/mail/mail.php +++ b/webui/model/mail/mail.php @@ -63,7 +63,7 @@ class ModelMailMail extends Model { } $connection->connect(); - $connection->helo($smtphost); + $connection->helo(SMTP_DOMAIN); } catch (Exception $e) { $connection->__destruct();