次の方法で共有


ContactItem.Email3AddressType Property (Outlook)

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

Syntax

expression .Email3AddressType

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 third e-mail entry of a contact.

Sub SetType() 
 
 Dim myItem As ContactItem 
 
 
 
 Set myItem = Application.CreateItem(olContactItem) 
 
 myItem.Email3Address = "someone@example.com" 
 
 myItem.Email3AddressType = "SMTP" 
 
 myItem.Display 
 
End Sub

See Also

Concepts

ContactItem Object Members

ContactItem Object