Click or drag to resize

ImapRenameFolderAsync Method (FolderInfo, String)

Changes the name of a folder (mailbox).

Namespace:  Limilabs.Client.IMAP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public Task RenameFolderAsync(
	FolderInfo existingFolder,
	string newFolder
)

Parameters

existingFolder
Type: Limilabs.Client.IMAPFolderInfo
Existing folder name.
newFolder
Type: SystemString
New folder name.

Return Value

Type: Task
A task that represents the asynchronous rename IMAP folder 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