Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ContactItem.Email2AddressType Property

Office 2007
Returns or sets a String representing the address type (such as EX or SMTP) of the second e-mail entry for the contact. Read/write.

Syntax

expression.Email2AddressType

expression   A variable that represents a ContactItem object.

Remarks

This is a free-form text field, but it must match the actual type of an existing e-mail transport.

Example

This Visual Basic for Applications (VBA) example sets "SMTP" as the address type for the second e-mail entry of a contact.

Visual Basic for Applications
Sub SetType()
    Dim myItem As Outlook.ContactItem
	
    Set myItem = Application.CreateItem(olContactItem)
    myItem.Email2Address = "someone@example.com"
    myItem.Email2AddressType = "SMTP"
    myItem.Display
End Sub



Community Additions

ADD
Show:
© 2015 Microsoft