Platform SDK: CDO 1.2.1 |
The Address property specifies the messaging address of an address entry. Read-only.
objAddressEntry.Address
String
The AddressEntry object's Address property contains a unique string that identifies a messaging user and provides routing information for messaging systems. The format of the address string is specific to each messaging system.
' Set up a series of object variables ' assume valid Session object Set objInbox = objSession.GetDefaultFolder(CdoDefaultFolderInbox) Set collInMessages = objInbox.Messages Set objMessage = collInMessages.GetFirst Set objAddrEntry = objMessage.Sender strMsg = "Sender name " & objAddrEntry.Name strMsg = strMsg & "; address type = " & objAddrEntry.Type strMsg = strMsg & "; e-mail address = " & objAddrEntry.Address MsgBox strMsg