| ImapMoveByNumberAsync Method (Int64, FolderInfo) |
Moves the specified email message 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<long?> MoveByNumberAsync(
long messageNumber,
FolderInfo destinationFolder
)
Public Function MoveByNumberAsync (
messageNumber As Long,
destinationFolder As FolderInfo
) As Task(Of Long?)
public:
Task<Nullable<long long>>^ MoveByNumberAsync(
long long messageNumber,
FolderInfo^ destinationFolder
)
member MoveByNumberAsync :
messageNumber : int64 *
destinationFolder : FolderInfo -> Task<Nullable<int64>>
Parameters
- messageNumber
- Type: SystemInt64
1 based message number. - destinationFolder
- Type: Limilabs.Client.IMAPFolderInfo
Destination folder (mailbox).
Return Value
Type:
TaskNullableInt64Unique-id of the copied message if the server supports
UniqueIdPlus, null otherwise.
See Also