View Single Post
  #1  
Old July 13th 07, 04:28 PM posted to microsoft.public.outlook.program_addins
PS
external usenet poster
 
Posts: 35
Default Downloading certain Distribution Lists as Contacts

Hi

I have an issue and needed some help. I have an Outlook addin
developed using C#, VSTO, VS 2005.

Have a business logic wherein the Distribution Lists (DLs) are
expanded programmatically for some business logic and certain actions
are done based on the recipients.

Now the issue I have is - if the same addin is installed on laptops
(having Outlook) - and the laptop is offline mode - then ofcourse the
DLs are not available.

One of the solutions I have thought of is to save them as contacts
when a laptop connects online and then if the user goes offline - load
the recipients from contacts rather than live AD.

I know how to go about checking if the laptop is online/offline etc.
Needed some direction in how can I save the actual DL in contacts
programmatically (in the background) lets say in the
ThisApplication_startup method.

Any help/direction/suggestions are really appreciated

Thanks

Ads