Distribution Lists

  • Thread starter Thread starter RJ47
  • Start date Start date
R

RJ47

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?
 
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.
<plug>Next 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
 
Am Fri, 28 Jul 2006 22:41:21 -0700 schrieb Dmitry Streblechenko:
<plug>Next 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>

Cool. I'm looking forward to that .-)
 
Back
Top