Click or drag to resize

ImapClientMoveMessagesAsync Method (IConnection, Int32, Int32, String, Boolean)

Moves the messaeg

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task MoveMessagesAsync(
	IConnection connection,
	int startSequence,
	int endSequence,
	string folderName,
	bool commitDeletions
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
startSequence
Type: SystemInt32
The starting sequence number of a message list
endSequence
Type: SystemInt32
The ending sequence number of a message list
folderName
Type: SystemString
Folder name where a message is to be moved
commitDeletions
Type: SystemBoolean
Specifies whether deletions should be committed.

Return Value

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