Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Distribution Lists (http://www.outlookbanter.com/outlook-vba/22146-distribution-lists.html)

RJ47 July 28th 06 11:49 PM

Distribution Lists
 
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?


Dmitry Streblechenko July 29th 06 07:41 AM

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?




Michael Bauer July 31st 06 07:37 AM

Distribution Lists
 
Am Fri, 28 Jul 2006 22:41:21 -0700 schrieb Dmitry Streblechenko:

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


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

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


All times are GMT +1. The time now is 11:18 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com