View Single Post
  #2  
Old July 29th 06, 07:41 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Distribution Lists

You will need to add a new dist list
(Application.CreateItem(olDistributionListItem)), then add new members using
DistListItem.AddMember/AddMembers that only take Recipient or Recipients
objects. Not the most logical design since you can only get the Recipients
object from MailItem.Recipients and Recipient object from either
MailItem.Recipients or Namespace.CreateRecipient.
plugNext version of Redemption, besides already exposing AddMemberEx
method which takes name and address as parameters, will also add AddContact
method that would allow to add a contact to a DL directly/plug

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

"RJ47" wrote in message
oups.com...
How do you create a Distribution List directly from Contacts view,
including by Category view? We currently have individual addresses in
Contact Folder. How do we place them into new distribution lists?



Ads