Share via


OutOfOffice Property (Session Object)

OutOfOffice Property (Session Object)

The OutOfOffice property indicates whether the user is currently out-of-office (OOF). Read/write.

Syntax

objSession.OutOfOffice

Data Type

Boolean

Remarks

The OutOfOffice property is set to True when the messaging user wishes to be considered out-of-office and have automatic responses generated to incoming messages. When this property is True, CDO signals this condition to the Microsoft® Exchange Client, which then replies to incoming e-mail with the message text contained in the OutOfOfficeText property.

For more information on using OutOfOffice and OutOfOfficeText, see the example in the OutOfOfficeText property.

See Also

Concepts

Session Object