Mailbox (Availability)

The Mailbox element represents the mailbox user for a SetUserOofSettings or GetUserOofSettings request.

<Mailbox>
   <Name>...</Name>
   <Address>...</Address>
   <RoutingType>...</RoutingType>
</Mailbox>

EmailAddressType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
Name (EmailAddress)
Represents the display name of the mailbox user. This element is optional in the SetUserOofSettingsRequest. The GetUserOofSettingsRequest will return this element.
Address (string)
Represents the e-mail address of the mailbox user. This element is required.
RoutingType (EmailAddress)
Represents the routing protocol for the message. This element is optional in the SetUserOofSettingsRequest. The GetUserOofSettingsRequest will return this element.

Parent elements

Element Description
GetUserOofSettingsRequest
Used to get a mailbox user's Out of Office (OOF) settings and messages.
The following is the XPath expression to this element:
/GetUserOofSettingsRequest
SetUserOofSettingsRequest
Used to set a mailbox user's OOF settings and messages.
The following is the XPath expression to this element:
/SetUserOofSettingsRequest

Remarks

The e-mail address is used to identify the calendar folder that contains the OOF settings.

The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
False

See also