The Oof element is an optional child element of the Settings element in Settings command requests and responses that specifies a named property node for retrieving and setting Out of Office (OOF) information.

All elements referenced in this section are defined in the Settings namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Settings command request (section

Settings (section

Get (section

Set (section

container ([MS-ASDTYPE] section 2.2)

0...1 (optional)

Settings command response



Status (section


0...1 (optional)

The Settings command request supports Get and Set operations for the Oof element. The Oof element enables a user to do the following:

§ Specify whether the user is currently out of office.

§ Schedule an out of office message to be sent between a particular start date and end date.

§ Specify the message that is to be shown to various audiences when the mobile device user is out of office.

Oof Get Request and Response

The Get element within the Oof element of a Settings command request enables the client to retrieve OOF information from the server. The client specifies the body type (BodyType element (section to be retrieved and the server will return all OOF information and messages.

In a Settings command Oof Get response, there is one OofMessage node (section per audience. If the sender group is allowed, but is disabled and has no reply message (specified by the ReplyMessage element (section, an OofMessage node is still reported to the client.

If the client does not receive a group, it is presumably because the client does not have permission to enter settings for that group; in such a case, any attempt to set those properties results in an Access Denied status code.

Oof Set Request and Response

The Set element within the Oof element of a Settings command request enables the client to set the OOF status, time OOF, and OOF messages for one or more of the following groups:

§ Internal

§ External Known Senders (such as contacts)

§ External Unknown Senders

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section, or the Protocol version field, as specified in [MS-ASHTTP] section, in the request.

Protocol version

Element support