From 118d996d3c4f6d9f290101c88a5f9489f392cda5 Mon Sep 17 00:00:00 2001 From: djmaze Date: Fri, 9 Apr 2021 09:02:32 +0200 Subject: [PATCH] Support AUTH=LOGIN on IMAP --- snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php index 1d15db1c8..63af87e3d 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php @@ -167,6 +167,7 @@ class ImapClient extends \MailSo\Net\NetClient // 'SCRAM-SHA-1' => 1, // !$encrypted 'CRAM-MD5' => $bUseAuthCramMd5IfSupported, 'PLAIN' => $bUseAuthPlainIfSupported, + 'LOGIN' => 1, ]; foreach ($types as $sasl_type => $active) { if ($active && $this->IsSupported("AUTH={$sasl_type}") && \SnappyMail\SASL::isSupported($sasl_type)) {