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,
 

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

Similar Threads


Back
Top