Click or drag to resize

ImapClientMoveMessagesAsync Method (IEnumerableInt32, 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(
	IEnumerable<int> sequenceSet,
	string folderName,
	bool commitDeletions,
	CancellationToken token
)

Parameters

sequenceSet
Type: System.Collections.GenericIEnumerableInt32
The set of sequence numbers for messages
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