I am developing an application that will allow the user to view the contents of the incoming mail to which they have access. I have a hard time trying to find a way to search the Global Address List and then
AddressEntries entries = global.AddressEntries; AddressEntry entry = entries["search value"];
This works, but returns only one instance, and it is the first one found. Basically I want to provide a list to the user if there are several results.
Secondly, I would like to be able to view contact details, but when I use
ContactItem contact = entry.GetContact();
It always returns null, I think this is because it looks at the user's current personal contact list
I suppose I'm trying to create a simple version of the global address book window in Outlook, if that makes sense.
Anyway, if anyone has any ideas or links, I would be grateful!
Thanks Patrick
source share