InternalReply

InternalReply 元素包含外出 (OOF) 响应发送到用户域或受信任域中的其他用户。

<InternalReply>
   <Message/> 
</InternalReply>

ReplyBody

属性和元素

下面各部分介绍了属性、子元素和父元素。

Attributes

属性 说明
xml:lang
指定 InternalReply 消息中使用的语言。 此属性的可能值由 IETF RFC 3066 定义。

子元素

元素 说明
Message (Availability)
包含 OOF 响应。

父元素

元素 说明
UserOofSettings
指定 OOF 设置。
下面是此元素的 XPath 表达式:
/SetUserOofSettingsRequest/UserOofSettings
OofSettings
包含 OOF 设置。
下面是此元素的 XPath 表达式:
/GetUserOofSettingsResponse/OofSettings

说明

描述此元素的架构位于承载 Exchange Web Services 的 IIS 虚拟目录中。

示例

下面的 SetUserOofSettings 请求示例将 OofState 设置为 Enabled,将 OOF 的持续时间设置为 10 天,并设置内部和外部 OOF 消息。

<?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="https://schemas.microsoft.com/exchange/services/2006/messages">
      <Mailbox xmlns="https://schemas.microsoft.com/exchange/services/2006/types">
        <Name>David Alexander</Name>
        <Address>someone@example.com</Address>
        <RoutingType>SMTP</RoutingType>
      </Mailbox>
      <UserOofSettings xmlns="https://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>

元素信息

元素 类型
命名空间
https://schemas.microsoft.com/exchange/services/2006/types
架构名称
类型架构
验证文件
Types.xsd
可以为空
False

另请参阅

GetUserOofSettings 操作

SetUserOofSettings 操作