Click or drag to resize

ImapMoveByUIDAsync(ListInt64, FolderInfo, CancellationToken) Method

Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<List<long>> MoveByUIDAsync(
	List<long> uids,
	FolderInfo destinationFolder,
	CancellationToken cancel = default
)

Parameters

uids  ListInt64
Unique-ids of the messages.
destinationFolder  FolderInfo
Destination folder (mailbox).
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

TaskListInt64
Unique-ids of the copied messages if the server supports UniqueIdPlus, empty otherwise.
See Also