Archived Forum Post

Index of archived forum posts

Question:

IMAP CkMailboxes.HasInferiors() is always true

Nov 18 '15 at 08:51

if i fetch all Mailboxes with

CkMailboxes mboxes = imap.ListMailboxes("","*");

and then

...
mboxes.HasInferiors(idx));

i always get TRUE. i thought this can tell me whether i have SubFolders or not. But i also got the Flag:

"\HasNoChildren"

Why is this??


Accepted Answer

See RFC 3348: https://www.ietf.org/rfc/rfc3348.txt

Note: the HasNoChildren attribute should not be confused with the IMAP4 [RFC-2060] defined attribute Noinferiors which indicates that no child mailboxes exist now and none can be created in the future.


Answer

No Answer?? PLEASE!!! :-)