Querying Outlook for Visio's Use

After you have obtained a reference to any given message in an Outlook mail folder, you can query the MailItem object for any one or more of the numerous properties of the object. Some of these are

MailItem.BodyThe body of the message
MailItem.CCThe display name of the person listed on the CC line
MailItem.DeferredDeliveryTimeThe deferred delivery time of the message
MailItem.DeleteAfterSubmitTrue if the MailItem will not be saved after being sent
MailItem.ExpiryTimeThe date and time the message expires
MailItem.FlagDueByThe due date flag for the message
MailItem.FlagRequestThe action to be taken if the .FlagStatus is set to olFlagMarked
MailItem.FlagStatusThe flag status for the mail item. To set the flag, use olFlagMarked ...

Get Professional Development with Visio® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.