mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +08:00
Document for #423
This commit is contained in:
parent
98b49104cb
commit
baabc939d8
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue