| ImapMoveByNumber 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 long? MoveByNumber(
long messageNumber,
string destinationFolder
)
Public Function MoveByNumber (
messageNumber As Long,
destinationFolder As String
) As Long?
public:
Nullable<long long> MoveByNumber(
long long messageNumber,
String^ destinationFolder
)
member MoveByNumber :
messageNumber : int64 *
destinationFolder : string -> Nullable<int64>
Parameters
- messageNumber
- Type: SystemInt64
1 based message number. - destinationFolder
- Type: SystemString
Destination folder (mailbox).
Return Value
Type:
NullableInt64Newly 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