UpdateMessage Method
Alters flags assotiated with a message in the current mailbox on the IMAP server.
Syntax
void __fastcall UpdateMessage(int UID, int SetFlags, int ClearFlags);
Remarks
Use this method to alter flags associated with a UID message in CurrentMailbox.