Click or drag to resize

ImapMoveByUID(Int64, String) Method

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.26106.1555
Syntax
public long? MoveByUID(
	long uid,
	string destinationFolder
)

Parameters

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

Return Value

NullableInt64
Newly assigned unique-id (UID) of the copied/moved 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