Get all data from E-Mail Addresses tab?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to get all the data from the E-Mail Addresses tab in the
properties of a contact? We have a distribution list with many contacts, we
are manually opening each person in the distribution list and going to the
E-Mail Addresses tab and checking the SMTP address. Many times there are
multiple SMTP addresses in the tab. We need to remove people from the
distribution list based on the SMTP addresses. Is there a way to
programmatically do this? Unless there is another CDO property, it looks like
I can only get the default address.

Thanks!
 
Am Wed, 12 Apr 2006 08:46:02 -0700 schrieb Nick

Nick, not sure what you are trying to do. You can loop through the DL
members and read each address. That address you can search in the Contacts.
Once you´ve found the contact you can read all its addresses (Email1Address,
Email2Address, Email3Address).
 
You will need to access the PR_EMS_AB_PROXY_ADDRESSES MAPI property with
Extended MAPI/CDO 1.21/Redemption (Outlook Object model does not provide
access to that property).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top