MessageClass Property

MessageClass Property

See Also         Example         Applies To

Returns or sets the message class for the Outlook item or Action. This property corresponds to the MAPI property PR_MESSAGE_CLASS. The MessageClass property links the item to the form on which it is based. When an item is selected, Outlook uses the message class to locate the form and expose its properties, such as Reply commands.

Read/write String.

Syntax

object.MessageClass

object   Required. An expression that returns an Outlook object that is listed in the "Applies To" list.