| ImapGetFoldersAsync Method (SubFolders) |
Lists all folders (mailboxes) starting from root.
Folders starting with '#' are usually shared between users. You can use
GetNamespaces to obtain information about shared folders.
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task<List<FolderInfo>> GetFoldersAsync(
SubFolders subFolders
)
Public Function GetFoldersAsync (
subFolders As SubFolders
) As Task(Of List(Of FolderInfo))
public:
Task<List<FolderInfo^>^>^ GetFoldersAsync(
SubFolders subFolders
)
member GetFoldersAsync :
subFolders : SubFolders -> Task<List<FolderInfo>>
Parameters
- subFolders
- Type: Limilabs.Client.IMAPSubFolders
Indicates how many sub folder levels should be downloaded.
Return Value
Type:
TaskListFolderInfoFolder list.
Remarks
IMAP servers may differ in the separator character used in folder hierarchy paths.
Common separator chars are '.' and '/'. For example: "Inbox/Folder" or "Inbox.Folder".
See Also