How to get the ContactItems in a DistListItem?

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?
 
D

Dmitry Streblechenko

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
 
G

Guest

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......
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top