OverwriteIMAPEmailFlags (open)
This function will overwrite all flags for an email
Syntax
LOADLIB "wh::internet/imap.whlib";
BOOLEAN FUNCTION OverwriteIMAPEmailFlags(INTEGER connectionid, STRING mailbox, INTEGER uid, STRING ARRAY flags)Parameters
INTEGER connectionidID of the connection (opened by OpenIMAPAccount)
STRING mailboxINTEGER uidSTRING ARRAY flagsFlags to set. All other flags arre cleared
Return value
BOOLEANboolean Indicating if the flag was updated succesfully