From 378ba9310077ff5d4a5500ebbaa115a194c5900f Mon Sep 17 00:00:00 2001 From: djmaze Date: Fri, 19 Nov 2021 11:09:12 +0100 Subject: [PATCH] IMAP LIST also fetch SPECIAL-USE --- snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php | 4 ++++ 1 file changed, 4 insertions(+) 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 e0b067d8e..7ed503d0a 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 @@ -492,6 +492,10 @@ class ImapClient extends \MailSo\Net\NetClient } else { // $aParameters[0] = '()'; } + // RFC 6154 + if ($this->IsSupported('SPECIAL-USE')) { + $aReturnParams[] = 'SPECIAL-USE'; + } } $aParameters[] = $this->EscapeString($sParentFolderName);