Moves the specified message to the specified destination folder (mailbox).

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.12102.1426

Syntax

C#
public Nullable<long> MoveByUID(
	long uid,
	string destinationFolder
)
Visual Basic
Public Function MoveByUID ( _
	uid As Long, _
	destinationFolder As String _
) As Nullable(Of Long)
Visual C++
public:
Nullable<long long> MoveByUID(
	long long uid, 
	String^ destinationFolder
)

Parameters

uid
Type: System..::..Int64
Unique-id of the message.
destinationFolder
Type: System..::..String
Destination folder (mailbox).

Return Value

Unique-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