Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
Service Class
Service Methods
SetOutOfOffice Method
SetOutOfOffice Method (OutOfOffice, EmailAddress)
SetOutOfOffice Method (OutOfOffice, String)

# Service SetOutOfOffice Method (OutOfOffice, String)

Sets the Out of Office settings for a specific mailbox.

Namespace: Independentsoft.Exchange
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public Response SetOutOfOffice(
    	OutOfOffice outOfOffice,
    	string emailAddress
    )

    Public Function SetOutOfOffice (
    	outOfOffice As OutOfOffice,
    	emailAddress As String
    ) As Response

#### Parameters

outOfOffice
  Type: Independentsoft.Exchange
  OutOfOffice
  The OOF settings.
emailAddress
  Type: System
  String
  The SMTP address of the user for which to set OOF settings.

#### Return Value

Type: Response
Response.
See Also

#### Reference

Service Class
SetOutOfOffice Overload
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de