ContactItem.MessageClass Property (Outlook)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns or sets a String representing the message class for the Outlook item. Read/write.

expression .MessageClass

expression A variable that represents a ContactItem object.

This property corresponds to the MAPI property PidTagMessageClass. 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.