MessageFlags Property

Contains the flags of the current message.

Syntax

public String getMessageFlags();
public void setMessageFlags(String messageFlags);

Default Value

""

Remarks

This property contains the flags of the current message. It is also used to specify flags when AppendToMailbox is called.

Examples of possible flag values are server dependent, but can include:

\Deleted Mark a message as deleted (for removal by later ExpungeMailbox).
\Seen Mark a message as read.
\Answered Mark a message as answered.
\Flagged Mark a message as flagged.
\Draft Mark a message as being incomplete (under composition).

Example (Setting MessageFlags)


IMAPControl.MessageSet = "1"
IMAPControl.AddMessageFlags("\Deleted")

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Java Edition - Version 20.0 [Build 8162]