From baabc939d816268bd44f54c462ba9de1484837c3 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 30 May 2022 13:17:15 +0200 Subject: [PATCH] Document for #423 --- snappymail/v/0.0.0/app/libraries/MailSo/Smtp/SmtpClient.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 9c745119f..1e3097e63 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 @@ -120,7 +120,9 @@ class SmtpClient extends \MailSo\Net\NetClient $sPassword = $aCredentials['Password']; $type = ''; - array_unshift($aCredentials['SASLMechanisms'],'LOGIN'); + // https://github.com/the-djmaze/snappymail/pull/423 +// $aCredentials['SASLMechanisms'][] = 'LOGIN'; + \array_unshift($aCredentials['SASLMechanisms'], 'LOGIN'); foreach ($aCredentials['SASLMechanisms'] as $sasl_type) { if ($this->IsAuthSupported($sasl_type) && \SnappyMail\SASL::isSupported($sasl_type)) { $type = $sasl_type;