set_message_flags


Description:

[ Version ( deprecated = true ) ]
public virtual bool set_message_flags (string uid, uint32 mask, uint32 @set)

Warning: set_message_flags is deprecated.

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

Note:

Use set_flags on the message info directly (when it works)

(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 ser, also bit-or of MessageFlags

Returns:

true if the flags were changed or false otherwise