IMAP_STORE
Changes the flags of messages of the selected folder.
The flags of IMAP are \Seen, \Answered, \Flagged, \Deleted and \Draft; other words are keywords, if the server supports them. The mode add adds the flags, remove removes them and set replaces all flags. In the text notation, a backslash is written twice: "\\Seen".
Parameters and results
serverSTRUCT c0de_net/mail/IMAP_SERVER: the server with the selected folderuidsINTEGER or ARRAY INTEGER: the UIDs of the messagesflagsSTRING or ARRAY STRING: the flagsmodeSTRING:add,removeorset(optional, defaultadd)
Example
c0de
CALL c0de_net/mail/IMAP_STORE
PARAMETER server imap ;
PARAMETER uids uids ;
PARAMETER flags "\\Seen" ;