Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / July 2006

Tip: Looking for answers? Try searching our database.

Distribution Lists

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RJ47 - 28 Jul 2006 22:49 GMT
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 - 29 Jul 2006 06:39 GMT
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

> 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 - 31 Jul 2006 06:37 GMT
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 .-)

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.