mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-10-11 06:06:29 +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;
|
$sPassword = $oSettings->Password;
|
||||||
|
|
||||||
$type = '';
|
$type = '';
|
||||||
// https://github.com/the-djmaze/snappymail/pull/423
|
$oSettings->SASLMechanisms[] = 'LOGIN';
|
||||||
// $oSettings->SASLMechanisms[] = 'LOGIN';
|
|
||||||
\array_unshift($oSettings->SASLMechanisms, 'LOGIN');
|
|
||||||
foreach ($oSettings->SASLMechanisms as $sasl_type) {
|
foreach ($oSettings->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