3.2.5.2 Receiving a RopCreateMessage ROP Request

When processing the RopCreateMessage ROP ([MS-OXCROPS] section 2.2.6.2), the server MUST NOT commit the new Message object until it receives a RopSaveChangesMessage ROP request ([MS-OXCROPS] section 2.2.6.3).

The server SHOULD<21> initialize the following properties before responding.

Property name

Initial data

PidTagImportance (section 2.2.1.11)

0x00000001

PidTagMessageClass (section 2.2.1.3)

"IPM.Note"

PidTagSensitivity (section 2.2.1.13)

0x00000000

PidTagDisplayBcc ([MS-OXOMSG] section 2.2.1.7)

""

PidTagDisplayCc ([MS-OXOMSG] section 2.2.1.8)

""

PidTagDisplayTo ([MS-OXOMSG] section 2.2.1.9)

""

PidTagMessageFlags (section 2.2.1.6)

0x00000009; will be 0x00000409 (the mfEverRead flag combined by using the bitwise OR operation with the value 0x00000009) if the client does not explicitly set the read state.<22>

PidTagMessageSize (section 2.2.1.7)

See the PidTagMessageSize property in section 2.2.1.7

PidTagHasAttachments (section 2.2.1.2)

0x00

PidTagTrustSender (section 2.2.1.45)

0x00000001

PidTagAccess ([MS-OXCPRPT] section 2.2.1.1)

0x00000003<23>

PidTagAccessLevel ([MS-OXCPRPT] section 2.2.1.2)

0x00000001

PidTagCreationTime (section 2.2.2.3)

The time the RopCreateMessage ROP ([MS-OXCROPS] section 2.2.6.2) was processed

PidTagLastModificationTime (section 2.2.2.2)

Same as the PidTagCreationTime property

PidTagSearchKey ([MS-OXCPRPT] section 2.2.1.9)

Server generated search key

PidTagMessageLocaleId (section 2.2.1.5)

The Logon object LocaleID.

PidTagCreatorName ([MS-OXPROPS] section 2.657)

Name of the creator.

PidTagCreatorEntryId (section 2.2.1.31)

Address book EntryID of the creator

PidTagLastModifierName ([MS-OXCPRPT] section 2.2.1.5)

Same as the PidTagCreatorName property

PidTagLastModifierEntryId (section 2.2.1.32)

Same as the PidTagCreatorEntryId property

PidTagHasNamedProperties (section 2.2.1.39)

0x00

PidTagLocaleId ([MS-OXPROPS] section 2.775)

Same as the PidTagMessageLocaleId property

The following specific error code applies to this ROP.

Error code name

Value

Meaning

ecAccessDenied

0x80070005

The user does not have permissions to create this message.<24>