Click or drag to resize

ImapCopyByNumberAsync(Int64, FolderInfo, CancellationToken) Method

Copies the specified email message to the specified destination folder (mailbox).

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

Parameters

messageNumber  Int64
1 based message number.
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

TaskNullableInt64
Unique-id of the copied message if the server supports UniqueIdPlus, null otherwise.
See Also