This commit is contained in:
the-djmaze 2022-12-16 11:41:51 +01:00
parent 9484ff3cbb
commit edd083801f

View file

@ -119,7 +119,7 @@ class ImapClient extends \MailSo\Net\NetClient
$this->sLogginedUser = $sLogin;
$type = '';
$type = 'LOGIN';
foreach ($oSettings->SASLMechanisms as $sasl_type) {
if ($this->IsSupported("AUTH={$sasl_type}") && \SnappyMail\SASL::isSupported($sasl_type)) {
$type = $sasl_type;