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> Move(
	long messageNumber,
	string destinationFolder
)
Visual Basic
Public Function Move ( _
	messageNumber As Long, _
	destinationFolder As String _
) As Nullable(Of Long)
Visual C++
public:
Nullable<long long> Move(
	long long messageNumber, 
	String^ destinationFolder
)

Parameters

messageNumber
Type: System..::..Int64
1 based message number.
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