IMAP LIST also fetch SPECIAL-USE

This commit is contained in:
djmaze 2021-11-19 11:09:12 +01:00
parent 7b600bc77a
commit 378ba93100

View file

@ -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);