View Single Post
  #3  
Old October 13th 06, 04:27 AM posted to microsoft.public.outlook.program_vba
Hal
external usenet poster
 
Posts: 22
Default Nested distribution lists

what do you mean pass it to ... do I set distributionlist =
mailitem.receipient ?

"Eric Legault [MVP - Outlook]" wrote:

Create a dummy e-mail message and address it to the DL you want to nest.
Then retrieve that DL's Recipient object from the MailItem.Recipients
collection and pass it to the DistributionList.AddMember method.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Hal" wrote:

I know how to make a new DL and add users to a DL via vba but how do I make a
nested distribution list ?

Regards

Ads