set EHLO domain in SMTP check

This commit is contained in:
Daniel Seifert 2024-07-09 23:36:11 +02:00
parent a154a9a243
commit c3649a9e24
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170

View File

@ -124,7 +124,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,