E-Mail Message Object
The E-Mail Message object represents a record of the messages linked to a new or existing Account or Business Contact.
Version Information
Outlook 2007
Requirements
Business Contact Manager for Outlook
Remarks
You must link an E-Mail Message object with an Account, Business Contact, or Business Project object. The Communication History folder contains e-mail message items.
Note You cannot link mail messages in the Drafts folder to an Account or Business Contact.
Example
The following C# and Visual Basic for Applications (VBA) examples show how to create a new object instance of type olMailItem.
[C#]
Outlook.MailItem mailItem = (Outlook.MailItem)olApp.CreateItem(Outlook.OlItemType.olMailItem);
FakePre-2c5127c083db4e02b9cb39711d12512e-56bf874d434642c5b032e8795ab0c1e6
User Properties (Business Contact Manager only)
None. All properties derive from the parent object.
Parent Objects
For more information, download the Outlook 2007 Developer Reference by going to the 2007 Office System: Updated Developer Content Web site.
See Also
Appointments | Business Notes | Files | Phone Logs | Tasks