Platform SDK: CDO 1.2.1 |
The Address property specifies the full address for the recipient. Read/write.
objRecipient.Address
String
You should use the Recipient object’s Address property to specify a custom address. The recipient Address uses the following syntax:
AddressType:AddressValue
where AddressType and AddressValue correspond to the values of the AddressEntry object’s Type and Address properties.
The Recipient object’s Address property represents the full address, the complete messaging address used by the MAPI system.
CDO sets the value of the Recipient object’s Address property for you when you supply the Name property and call the recipient’s Resolve method.
The Address property corresponds to a combination of the MAPI properties PR_ADDRTYPE and PR_EMAIL_ADDRESS.
' from the sample function Util_CompareAddressParts ' assume valid Recipient object Set objAddrEntry = objOneRecip.AddressEntry strMsg = "Recipient full address = " & objOneRecip.Address strMsg = strMsg & "; AddressEntry type = " & objAddrEntry.Type strMsg = strMsg & "; AddressEntry address = " & _ objAddrEntry.Address MsgBox strMsg ' compare address components