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