mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Merge pull request #1484 from botsarenthuman/patch-1
Update ImapClient.php
This commit is contained in:
commit
c450965cb6
1 changed files with 0 additions and 3 deletions
|
|
@ -127,9 +127,6 @@ class ImapClient extends \MailSo\Net\NetClient
|
||||||
}
|
}
|
||||||
|
|
||||||
$type = '';
|
$type = '';
|
||||||
if ($this->Encrypted()) {
|
|
||||||
\array_unshift($oSettings->SASLMechanisms, 'PLAIN', 'LOGIN');
|
|
||||||
}
|
|
||||||
foreach ($oSettings->SASLMechanisms as $sasl_type) {
|
foreach ($oSettings->SASLMechanisms as $sasl_type) {
|
||||||
if ($this->hasCapability("AUTH={$sasl_type}") && \SnappyMail\SASL::isSupported($sasl_type)) {
|
if ($this->hasCapability("AUTH={$sasl_type}") && \SnappyMail\SASL::isSupported($sasl_type)) {
|
||||||
$type = $sasl_type;
|
$type = $sasl_type;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue