mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-21 14:22:23 +08:00
Support AUTH=LOGIN on IMAP
This commit is contained in:
parent
3d10bbface
commit
118d996d3c
1 changed files with 1 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue