From 132d618a06761666e6b35bd625b2792bc68bc8fa Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Tue, 9 Jul 2024 23:36:11 +0200 Subject: [PATCH] set EHLO domain in SMTP check --- Application/Controller/Admin/SmtpChecker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Controller/Admin/SmtpChecker.php b/Application/Controller/Admin/SmtpChecker.php index 6e5a969..1ba08c7 100644 --- a/Application/Controller/Admin/SmtpChecker.php +++ b/Application/Controller/Admin/SmtpChecker.php @@ -123,7 +123,7 @@ class SmtpChecker extends AdminDetailsController { $this->action = __FUNCTION__; Assert::that( - ($this->smtp = new Net_SMTP($this->host, $this->port)), + ($this->smtp = new Net_SMTP($this->host, $this->port, $_SERVER['HTTP_HOST'])), Registry::getLang()->translateString('D3_MAILCHECKER_SMTPCHECK_INSTANCE') )->isInstanceOf( Net_SMTP::class,