Document for #423

This commit is contained in:
the-djmaze 2022-05-30 13:17:15 +02:00
parent 98b49104cb
commit baabc939d8

View file

@ -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;