Skip to content

Commit

Permalink
fix long imap login delay on mailboxes with many folders
Browse files Browse the repository at this point in the history
Signed-off-by: Malte Langermann <[email protected]>
  • Loading branch information
gagarinlg committed May 16, 2020
1 parent 85a13f4 commit 71994c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public function checkPassword($uid, $password) {
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERPWD, $username.":".$password);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'CAPABILITY');

$canconnect = curl_exec($ch);

Expand Down

0 comments on commit 71994c6

Please sign in to comment.