Skip to content

Commit 71994c6

Browse files
committed
fix long imap login delay on mailboxes with many folders
Signed-off-by: Malte Langermann <malte@langermann.net>
1 parent 85a13f4 commit 71994c6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/imap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public function checkPassword($uid, $password) {
9595
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
9696
curl_setopt($ch, CURLOPT_USERPWD, $username.":".$password);
9797
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
98+
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'CAPABILITY');
9899

99100
$canconnect = curl_exec($ch);
100101

0 commit comments

Comments
 (0)