Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ContactItem.ForwardAsBusinessCard Method

Office 2007
Creates a new MailItem object containing contact information and, optionally, an Electronic Business Card (EBC) image based on the specified ContactItem object.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.ForwardAsBusinessCard

expression   An expression that returns a ContactItem object.

Return Value
A MailItem object that represents the new e-mail item containing the business card information.

Remarks

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:

Property valueResult
olFormatPlainA vCard (.vcf) file is created and added to the Attachments collection of the MailItem object.
olFormatRichTextA vCard file is created and added to the Attachments collection of the MailItem object.
olFormatHTMLAn 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.
Bb220219.vs_note(en-us,office.12).gif  Note
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.



Community Additions

Show: