Click or drag to resize

ImapMoveByNumberAsync Method (ListInt64, String)

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.23341.1754
Syntax
public Task<List<long>> MoveByNumberAsync(
	List<long> messageNumbers,
	string destinationFolder
)

Parameters

messageNumbers
Type: System.Collections.GenericListInt64
1 based message numbers.
destinationFolder
Type: SystemString
Destination folder (mailbox).

Return Value

Type: TaskListInt64
Unique-ids of the copied messages if the server supports UniqueIdPlus, empty otherwise.
Remarks
IMAP servers may differ in the separator character used in mailbox folder hierarchy paths. Common separator chars are '.' and '/'. For example: "Inbox/Folder" or "Inbox.Folder".
See Also