SMTP addresses from Distribution lists - best procedures

A

Andy Max Jensen

Hi,

I would like to retreive all names and smtp addresses from
Distribution List in the default Contact folder.

But I'm really not sure how to do this the best way.

If I got it right; cdo.dll is not nessesarily installed with Office
Windows and the Jet providers is not nessesarily available either!?

Using the Outlook object model is reallly slow.

How would you handle this? And how would you resolve SMTP addresses?

Tahnks!

Andy Max Jense
 
S

Sue Mosher [MVP-Outlook]

One approach might be to use the SaveAs method to save it as a .txt file,
then parse that file, which will be a tab-delimited list (after a few lines
at the top with the name of the DL.

FYI, there is a newsgroup specifically for general Outlook programming
issues "down the hall" at microsoft.public.outlook.program_vba

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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