0 votes
by (290 points)
edited

Hi, would you be kind enough to clarify what this property really mean?

The definition for this property from Rebex is: Gets a value indicating whether any subfolders can exist under this folder.

So does it mean if this folder has child folders or user can create child folders under this folder.

Thank you.

Applies to: Rebex Secure Mail

1 Answer

0 votes
by (58.9k points)
edited
 
Best answer

Hi,

the ImapFolder.CanContainInferiors corresponds to (actually is a negation of) the \Noinferiors attribute defined in RFC 2060 (chapter 7.2.2).

The ImapFolder.CanContainInferiors property says whether any child (inferior) folders can be created under the folder. So if it is 'true' it is possible to have child folders (and you have to check whether some exist), if it is 'false' definitely there should be no child folders.

by (290 points)
edited

Thank you. It is more clear now. This is equivalent to Exchange Web services (EWS) FolderPermission.CanCreateSubFolders property. I was debating between using CanCreateSubFolder vs. HasChildFolderCount but your answer confirmed what I was suspecting.

...