You can access DL members using the Recipient.AddressEntry.Members
collection
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"PilotYid" wrote in message
ups.com...
Basically, In my Application_ItemSend I would like to check if a
particular person or persons are in the recipient list (To or CC). I
tried this by looping through mailItem.Recipients and checking each
one. Problem is that this won't look inside of distribution lists, so
if I send to a distribution list that has this person in it, this won't
detect it. How can I do this? Any way to expand the dist. list at this
point to look inside, and/or determine if a particular recipient is a
dist list?
Thanks for your help,
Aaron