Looping through Outlook Contact Address list

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I am new to C# and It may be a simple question.

I am trying to loop through MS-Outlook object Contact address list. I can
able to find the count using following line.

int iAddresscount =
((Outlook.Application)application).GetNamespace("MAPI").AddressLists.Count;

but I want to loop through each contacts and display in the messagebox. How
to do that? Appreciate your help.

Thanks
 
Hi Daniel,
I have a requirement to develop Add-in outlook component that will retrieve
all the address list from outlook and pass on to my application database.

Thanks,
 
umm sorry i wont help out of principle. Sounds too much like your app is
spamming software. Sorry.
 
hi
We have application which will use my outlook address to communicate users.
We have table in my database, which will be refreshed from outlook address.
so that it will keep updated information. Appreciate your help....

thanks,
 
Back
Top