set_message_flags


Description:

public virtual bool set_message_flags (string uid, uint32 mask, uint32 @set)

Sets those flags specified by mask to the values specified by set on the indicated message.

(This may or may not persist after the folder or store is closed. See get_permanent_flags)

E.g. to set the deleted flag and clear the draft flag, use camel_folder_set_message_flags (folder, uid, CAMEL_MESSAGE_DELETED|CAMEL_MESSAGE_DRAFT, CAMEL_MESSAGE_DELETED);

Parameters:

this

a Folder

uid

the UID of a message in this

mask

a mask of MessageFlags bit-or values to use

set

the flags to set, also bit-or of MessageFlags

Returns:

true if the flags were changed or false otherwise