Programmatically creating distribution lists

  • Thread starter Thread starter Eric Caron
  • Start date Start date
E

Eric Caron

Hi everyone,

Due to a limit in the number of contacts that can be added to a distribution
list in a public folder on the server, I need to split a large distribution
list into several smaller ones. To do this, I want to use Outlook
automation to create the new distribution lists using an attribute in the
contacts. I know how to access the public folder, but I don't know how to
create a new distribution list and how to filter the contacts using a
specific attribute. Can anyone point me in the right direction or explain
to me how this can be done?

TIA.

Eric
 
Am Wed, 26 Oct 2005 15:12:38 -0400 schrieb Eric Caron:

Please see "Generating a Personal Distribution List in Contacts
Programatically (Outlook 2003)", written today in this NG. It´s a sample
how to add a Recipient to a Distributionllist. The list itself can be
created using the CreateItem function.

For filtering your contacts you can maybe use the Restrict function.
Please see VBA hlp for a sample.
 
Back
Top