2.2.1.6 PidTagMessageFlags Property

Type: PtypInteger32 ([MS-OXCDATA] section 2.11.1)

The PidTagMessageFlags property ([MS-OXPROPS] section 2.792) specifies the status of the Message object. Set to zero or to a bitwise OR of one or more of the values from the following tables.

After the first successful call to the RopSaveChangesMessage ROP ([MS-OXCROPS] section 2.2.6.3), as described in section 2.2.3.3, these flags are read-only for the client.

Flag name

Value

Description

mfRead

0x00000001

The message is marked as having been read.

mfUnsent

0x00000008

The message is still being composed and is treated as a Draft Message object. This bit is cleared by the server when responding to the RopSubmitMessage ROP ([MS-OXCROPS] section 2.2.7.1) with a success code.

mfResend

0x00000080

The message includes a request for a resend operation with a non-delivery report. For more details, see [MS-OXOMSG] section 3.2.4.5.

These flags are always read-only for the client.

Flag name

Value

Description

mfUnmodified

0x00000002

The message has not been modified since it was first saved (if unsent) or it was delivered (if sent).

mfSubmitted

0x00000004

The message is marked for sending as a result of a call to the RopSubmitMessage ROP

mfHasAttach

0x00000010

The message has at least one attachment. This flag corresponds to the message's PidTagHasAttachments property (section 2.2.1.2).

mfFromMe

0x00000020

The user receiving the message was also the user who sent the message.

mfFAI

0x00000040

The message is an FAI message.

mfNotifyRead

0x00000100

The user who sent the message has requested notification when a recipient (1) first reads it.

mfNotifyUnread

0x00000200

The user who sent the message has requested notification when a recipient (1) deletes it before reading or the Message object expires.

mfEverRead

0x00000400

The message has been read at least once. This flag is set or cleared by the server whenever the mfRead flag is set or cleared.<4> Clients SHOULD ignore this flag.

mfInternet

0x00002000

The incoming message arrived over the Internet and originated either outside the organization or from a source the gateway does not consider trusted.

mfUntrusted

0x00008000

The incoming message arrived over an external link other than X.400 or the Internet. It originated either outside the organization or from a source the gateway does not consider trusted.

The PidTagMessageFlags property is also modified using the RopSetMessageReadFlag ROP ([MS-OXCROPS] section 2.2.6.11), as described in section 2.2.3.11, or the RopSetReadFlags ROP ([MS-OXCROPS] section 2.2.6.10), as described in section 2.2.3.10.