4D Internet Commands v16

IMAP_MsgNumToUID

Home

 
4D Internet Commands v16
IMAP_MsgNumToUID

IMAP_MsgNumToUID 


 

IMAP_MsgNumToUID ( imap_ID ; msgNum ; unique_ID ) -> Function result 
Parameter Type   Description
imap_ID  Longint in Reference to an IMAP login
msgNum  Longint in Message number
unique_ID  Longint in Message unique identifier value
Function result  Integer in Error code

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

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC IMAP Review Mail
Number: 88865

 
HISTORY 

Created: 4D Internet Commands 6.8.1

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)