SetOofStatus Operation
Topic Last Modified: 2008-09-05
The SetOofStatus operation sets a value that indicates whether the Out of Office (OOF) greeting should be played for the user who makes the request.
SetOofStatus Request Example
Description
The following example of a SetOofStatus request shows how to form a request to enable the Out of Office greeting for a mailbox.
Code
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SetOofStatus xmlns="https://schemas.microsoft.com/exchange/services/2006/messages">
<status>true</status>
</SetOofStatus>
</soap:Body>
</soap:Envelope>
Successful SetOofStatus Response Example
Description
The following example of a SetOofStatus response shows a response to the SetOofStatus request.
Code
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SetOofStatusResponse xmlns="https://schemas.microsoft.com/exchange/services/2006/messages" />
</soap:Body>
</soap:Envelope>