Prepare RFC 8689

This commit is contained in:
the-djmaze 2023-01-18 08:56:56 +01:00
parent bd35521f41
commit 1d4b20bb79

View file

@ -205,6 +205,11 @@ class SmtpClient extends \MailSo\Net\NetClient
$sCmd .= ' RET=HDRS';
}
// RFC 8689
if ($this->hasCapability('REQUIRETLS')) {
// $sCmd .= ' REQUIRETLS';
}
$this->sendRequestWithCheck('MAIL', 250, $sCmd);
$this->bMail = true;