4.12 SetOofStatus Operation

The SetOofStatus operation sets a value that indicates whether the Out of Office (OOF) greeting is enabled for the user who is making the request.

The following is the request to set the OOF greeting.

 <?xml version="1.0" encoding="utf-8"?>
 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
     <SetOofStatus xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
       <status>true</status>
     </SetOofStatus>
   </soap:Body>
 </soap:Envelope>

The following is the response to the request to set the OOF greeting.

 <?xml version="1.0" encoding="utf-8" ?>
 <soap:Envelope xmlns:soap="http://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="http://schemas.microsoft.com/exchange/services/2006/messages" />
   </soap:Body>
 </soap:Envelope>
Show: