This documentation is archived and is not being maintained.

MailItem.MessageClass Property

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



expression   A variable that represents a MailItem object.


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.