ImapClientMoveFolderAsync Method (IConnection, String, String)

Moves specified folder and its subfolders to new location.

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task MoveFolderAsync(
	IConnection connection,
	string newParentFolder,
	string folderName
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
newParentFolder
Type: SystemString
New location for moved folder
folderName
Type: SystemString
Folder to move

Return Value

Type: Task
Task object, with delegate for this operation
See Also