Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The InternalReply element contains the out of office (OOF) response sent to other users in the user's domain or trusted domains.
<InternalReply>
<Message/>
</InternalReply>
ReplyBody
Attributes and elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
xml:lang |
Specifies the language used in the InternalReply message. The possible values of this attribute are defined by IETF RFC 3066. |
Child elements
Element | Description |
---|---|
Message (Availability) |
Contains the OOF response. |
Parent elements
Element | Description |
---|---|
UserOofSettings |
Specifies the OOF settings. The following is the XPath expression to this element: /SetUserOofSettingsRequest/UserOofSettings |
OofSettings |
Contains the OOF settings. The following is the XPath expression to this element: /GetUserOofSettingsResponse/OofSettings |
Remarks
The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.
Example
The following example of a SetUserOofSettings request sets the OofState to Enabled, sets the duration of OOF for 10 days, and sets the internal and external OOF messages.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SetUserOofSettingsRequest xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<Mailbox xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
<Name>David Alexander</Name>
<Address>[email protected]</Address>
<RoutingType>SMTP</RoutingType>
</Mailbox>
<UserOofSettings xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
<OofState>Enabled</OofState>
<ExternalAudience>All</ExternalAudience>
<Duration>
<StartTime>2005-10-05T00:00:00</StartTime>
<EndTime>2005-10-25T00:00:00</EndTime>
</Duration>
<InternalReply>
<Message>I am out of office. This is my internal reply.</Message>
</InternalReply>
<ExternalReply>
<Message>I am out of office. This is my external reply.</Message>
</ExternalReply>
</UserOofSettings>
</SetUserOofSettingsRequest>
</soap:Body>
</soap:Envelope>
Element information
Element | Type |
---|---|
Namespace |
http://schemas.microsoft.com/exchange/services/2006/types |
Schema Name |
Types schema |
Validation File |
Types.xsd |
Can be Empty |
False |