Address Property (CDONTS AddressEntry Object)

Address Property (CDONTS AddressEntry Object)

The Address property specifies the messaging address of an address entry. Read-only.

Syntax

        objAddressEntry.Address

Data Type

String

Remarks

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.

Example

' 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
 

See Also

Concepts

AddressEntry Object (CDONTS Library)