set EHLO domain in SMTP check

This commit is contained in:
Daniel Seifert 2024-07-09 23:36:11 +02:00
bovenliggende 37839b269c
commit 132d618a06

Bestand weergeven

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