Click or drag to resize

ImapClientMoveMessagesAsync Method (String, String, String, Boolean, CancellationToken)

Moves the message

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task MoveMessagesAsync(
	string startUid,
	string endUid,
	string folderName,
	bool commitDeletions,
	CancellationToken token
)

Parameters

startUid
Type: SystemString
The starting UID of a message list
endUid
Type: SystemString
The ending UID 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.
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

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