SMTP addresses from Distribution lists - best procedures

  • Thread starter Thread starter Andy Max Jensen
  • Start date Start date
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
 
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
 
Back
Top