PR_EMS_AB_PROXY_ADDRESSES is a property defined for the Exchange Address entries
(IMailUser). The contacts are regular messages (IMessage).
All the 0x8000 and higher properties are named properties - you should access
them using different syntax - see http://www.cdolive.com/cdo10.htm . Property
tags for the named properties are different on different machines, but their ids
and GUIDs are the same.
To get the SMTP address from a contact:
1. Read EMail1EntryID property from the contact using Outlook Object Model or
(in case of CDO) read 0x8085, {00062004-0000-0000-C000-000000000046} named
prop.
2. Use it to call CDO's Session.GetAddressEntry()
3. Call AddressEntry.Fields(PR_EMS_AB_PROXY_ADDRESSES)
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
I looked at the value of PR_EMS_AB_PROXY_ADDRESSES - it is false for every
contact. How would I go about converting?
Or
I also downloaded OutlookSpy and looked at a particular contact. I don't see
any value for their smtp email address but I do see the display name (I do see
the EX value too). I can use the display name to filter all the people in the
Global Address list to find the SMTP email address. The property tag for this
item is 0x81D0. How would I get the value programmatically?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!