diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Smtp/SmtpClient.php b/snappymail/v/0.0.0/app/libraries/MailSo/Smtp/SmtpClient.php index d7abc06fb..1f79d0e82 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Smtp/SmtpClient.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Smtp/SmtpClient.php @@ -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;