version 6.8.1
IMAP_MsgNumToUID (imap_ID; msgNum; unique_ID) Integer
Parameter | Type | Description | |
imap_ID | Longint | Reference to an IMAP login | |
msgNum | Longint | Message number | |
unique_ID | Longint | Message unique identifier value | |
Function result | Integer | Error code |
Description
The IMAP_MsgNumToUID command converts a message number within the list of messages in the current mailbox referenced by imap_ID to its current unique_ID value.
imap_ID is a long integer reference to an open connection created with IMAP_Login.
msgNum is a long integer returned containing the current message number (its position within the current message list) of the item identified by unique_ID. If the unique_ID cannot be found on the server, a zero is returned in msgNum and no error is returned.
unique_ID is a long integer value returning the Unique ID of a message to be located on the IMAP server.
See Also
IMAP_SetCurrentMB, IMAP_UIDToMsgNum.