Click or drag to resize

ImapDeleteFolderRecursivelyAsync Method (String)

Permanently removes all sub folders and folder (mailbox) with the given name.

Namespace:  Limilabs.Client.IMAP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public void DeleteFolderRecursivelyAsync(
	string folder
)

Parameters

folder
Type: SystemString
Folder name to remove.

Return Value

Type: 
A task that represents the asynchronous IMAP folder delete operation.
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