| ImapMoveByUIDAsync Method (Int64, String) |
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?> MoveByUIDAsync(
long uid,
string destinationFolder
)
Public Function MoveByUIDAsync (
uid As Long,
destinationFolder As String
) As Task(Of Long?)
public:
Task<Nullable<long long>>^ MoveByUIDAsync(
long long uid,
String^ destinationFolder
)
member MoveByUIDAsync :
uid : int64 *
destinationFolder : string -> Task<Nullable<int64>>
Parameters
- uid
- Type: SystemInt64
Unique-id of the message. - destinationFolder
- Type: SystemString
Destination folder (mailbox).
Return Value
Type:
TaskNullableInt64Unique-id of the copied message if the server supports
UniqueIdPlus, null 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