mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-10-06 03:44:56 +08:00
Revert pull 423
This commit is contained in:
parent
682af34d53
commit
06860a51e6
1 changed files with 1 additions and 3 deletions
|
@ -143,9 +143,7 @@ class SmtpClient extends \MailSo\Net\NetClient
|
|||
$sPassword = $oSettings->Password;
|
||||
|
||||
$type = '';
|
||||
// https://github.com/the-djmaze/snappymail/pull/423
|
||||
// $oSettings->SASLMechanisms[] = 'LOGIN';
|
||||
\array_unshift($oSettings->SASLMechanisms, 'LOGIN');
|
||||
$oSettings->SASLMechanisms[] = 'LOGIN';
|
||||
foreach ($oSettings->SASLMechanisms as $sasl_type) {
|
||||
if ($this->IsAuthSupported($sasl_type) && \SnappyMail\SASL::isSupported($sasl_type)) {
|
||||
$type = $sasl_type;
|
||||
|
|
Loading…
Add table
Reference in a new issue