Programmatically creating distribution lists

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
 
M

Michael Bauer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top