Click or drag to resize

ImapCopyByNumber Method (Int64, String)

Copies the specified email message to the specified destination folder (mailbox).

Namespace:  Limilabs.Client.IMAP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public long? CopyByNumber(
	long messageNumber,
	string destinationFolder
)

Parameters

messageNumber
Type: SystemInt64
1 based message number.
destinationFolder
Type: SystemString
Destination folder (mailbox).

Return Value

Type: NullableInt64
Newly assigned unique-id (UID) of the copied message, if the server supports UniqueIdPlus, null otherwise.
Remarks
IMAP servers may differ in the separator character used in folder hierarchy paths. Common separator chars are '.' and '/'. For example: "Inbox/Folder" or "Inbox.Folder".
See Also