ContactItem.Email1AddressType Property (Outlook)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .Email1AddressType

expression A variable that represents a ContactItem object.

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

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

Sub SetType() 
 Dim myItem As Outlook.ContactItem 
 Set myItem = Application.CreateItem(olContactItem) 
 myItem.Email1Address = "" 
 myItem.Email1AddressType = "SMTP" 
End Sub