mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-10 23:24:15 +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'];
|
$sPassword = $aCredentials['Password'];
|
||||||
|
|
||||||
$type = '';
|
$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) {
|
foreach ($aCredentials['SASLMechanisms'] as $sasl_type) {
|
||||||
if ($this->IsAuthSupported($sasl_type) && \SnappyMail\SASL::isSupported($sasl_type)) {
|
if ($this->IsAuthSupported($sasl_type) && \SnappyMail\SASL::isSupported($sasl_type)) {
|
||||||
$type = $sasl_type;
|
$type = $sasl_type;
|
||||||
|
|
Loading…
Add table
Reference in a new issue