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;