4D Internet Commands v16

IMAP_GetFlags

Home

 
4D Internet Commands v16
IMAP_GetFlags

IMAP_GetFlags 


 

IMAP_GetFlags ( imap_ID ; startMsg ; endMsg ; msgFlagsArray ; msgNumArray ) -> Funktionsergebnis 
Parameter Typ   Beschreibung
imap_ID  Lange Ganzzahl in Reference to an IMAP login
startMsg  Lange Ganzzahl in Start message number
endMsg  Lange Ganzzahl in End message number
msgFlagsArray  Array String in Flag values for each message
msgNumArray  Array Lange Ganzzahl in Array of message numbers
Funktionsergebnis  Ganzzahl in Error code

The IMAP_GetFlags command returns the list of flags for the specified messages.

imap_ID is a long integer reference to an open connection created with IMAP_Login.

startMsg is a long integer number that specifies the starting message number of the message range to be examined. The message number is a value representing the position of a message within the list of all messages in the current working mailbox.

endMsg is a long integer number that specifies the ending message number of the message range to be examined. The message number is a value representing the position of a message within the list of all messages in the current working mailbox.

Note: The IMAP_Delete, IMAP_MsgLstInfo, IMAP_MsgLst, IMAP_SetFlags, IMAP_GetFlags and IMAP_CopyToMB commands do not return an error if the startMsg is greater than the endMsg. In the event that this occurs, the command — in effect — does nothing.

msgFlagsArray is a string or text array returned containing the list of flags, separated by spaces, of each message number between startMsg and endMsg.

msgNumArray is a long integer array returned containing the message numbers between startMsg and endMsg.



Siehe auch 

IMAP_SetCurrentMB
IMAP_SetFlags

 
EIGENSCHAFTEN 

Produkt: 4D Internet Commands
Thema: IC IMAP Review Mail
Nummer: 88869

 
GESCHICHTE 

Erstellt: 4D Internet Commands 6.8.1

 
ARTIKELVERWENDUNG

4D Internet Commands ( 4D Internet Commands v16)