| ImapGetFolders Method (String, SubFolders) |
Lists all folders (mailboxes) under specified folder (mailbox).
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public List<FolderInfo> GetFolders(
string parent,
SubFolders subFolders
)
Public Function GetFolders (
parent As String,
subFolders As SubFolders
) As List(Of FolderInfo)
public:
List<FolderInfo^>^ GetFolders(
String^ parent,
SubFolders subFolders
)
member GetFolders :
parent : string *
subFolders : SubFolders -> List<FolderInfo>
Parameters
- parent
- Type: SystemString
Parent folder (mailbox) to start search from. - subFolders
- Type: Limilabs.Client.IMAPSubFolders
Indicates how many sub folder levels should be downloaded.
Return Value
Type:
ListFolderInfoFolder 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