| ImapCopyByNumberAsync Method (ListInt64, String) |
Copies the specified email messages to the specified destination folder (mailbox).
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task<List<long>> CopyByNumberAsync(
List<long> messageNumbers,
string destinationFolder
)
Public Function CopyByNumberAsync (
messageNumbers As List(Of Long),
destinationFolder As String
) As Task(Of List(Of Long))
public:
Task<List<long long>^>^ CopyByNumberAsync(
List<long long>^ messageNumbers,
String^ destinationFolder
)
member CopyByNumberAsync :
messageNumbers : List<int64> *
destinationFolder : string -> Task<List<int64>>
Parameters
- messageNumbers
- Type: System.Collections.GenericListInt64
1 based message numbers. - destinationFolder
- Type: SystemString
Destination folder (mailbox).
Return Value
Type:
TaskListInt64Unique-ids of the copied messages if the server supports
UniqueIdPlus, empty otherwise.
Remarks
IMAP servers may differ in the separator character used in folder hierarchy paths.
Common separator chars are '.' and '/'. For example: "Inbox/Folder" or "Inbox.Folder".
See Also