set EHLO domain in SMTP check
This commit is contained in:
parent
a154a9a243
commit
c3649a9e24
@ -124,7 +124,7 @@ class SmtpChecker extends AdminDetailsController
|
|||||||
{
|
{
|
||||||
$this->action = __FUNCTION__;
|
$this->action = __FUNCTION__;
|
||||||
Assert::that(
|
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')
|
Registry::getLang()->translateString('D3_MAILCHECKER_SMTPCHECK_INSTANCE')
|
||||||
)->isInstanceOf(
|
)->isInstanceOf(
|
||||||
Net_SMTP::class,
|
Net_SMTP::class,
|
||||||
|
Loading…
Reference in New Issue
Block a user