How to get the ContactItems in a DistListItem?

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

Guest

Using the method DistListItem.GetMember(int), I can only get the Recipients
in the Distribution List.
However, we know that when using Outlook, we can add Contacts other than
just Recipients to a Distribution List.
How can I get the ContactItems associated with a Distribution List?
 
In Outlook 2007, you can use Recipient.AddressEntry.GetContact.
<plug> In Redemption (all versions of Outlook), you can use
RDOAddressEntry.GetContact (returns RDOContactItem)</plug>

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Thanks for your help first, Dmitry.

I'm not quite familiar with the "Redemption" you mentioned. What namespace
is RDOAddressEntry in? I cannot find it in my MSDN library......
 
Back
Top