Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
This method creates a new Outlook mail item based on the information stored in the ContactItem object. The information included in the Outlook mail item depends on the value of the BodyFormat property for the MailItem object:
A vCard (.vcf) file is created and added to the Attachments collection of the MailItem object.
A vCard file is created and added to the Attachments collection of the MailItem object.
An image of the Electronic Business Card is generated and included in the Body property of the MailItem object, and a vCard file is created and added to the Attachments collection of the MailItem object.
The attached vCard file contains only the contact information included in the Electronic Business Card associated with the ContactItem object. Any contact information not displayed in the Electronic Business Card is excluded from the vCard file.