Description
-
Holds message flags.
Property type
-
An ImapMessageFlags
enumeration.
Syntax
-
object.Flags [= value]
The Flags Property syntax has these parts:
Settings
-
The settings for value are:
|
Flagged |
1 |
Message is flagged. |
|
Seen |
2 |
Message is already
seen. |
|
Answered |
4 |
Message is already
answered. |
|
Deleted |
8 |
Message is deleted. |
|
Draft |
16 |
Draft message. |
|
Recent |
32 |
Message is recently added
to mailbox. |
Remarks
- IMAP protocol specification defines that each message may
contain one or more message flags. To the client program and
the user who is accessing the message it tells what was
happening with the message during its existence.
For example, message becomes Flagged
when user actually (in outlook) clicks left from the subject
and little flag gets drawn next to it. Or, message gets
Deleted flag when user deletes it.
Seen flag happens when user opens the message etc..
Each time flags for the message is changed, FlagChange
event is fired.
|