Outlook Plugin - Search Global Address Book
Does anyone know how to look up the global address book on an exchange server? The Address Book seems to be different from the general contact list, so this popular example code (or similar) points to a completely different set of contacts:
Outlook.Application app = new Outlook.Application();
Outlook._NameSpace olNS = app.GetNamespace("MAPI");
Outlook._Folders oFolders = olNS.Folders;
Outlook.MAPIFolder oContactsFolder = olNS.Folders["Public Folders"].Folders["All Public Folders"].Folders["Contacts"];
I need to find a specific contact name. PS: - I am using Outlook 2007. Thanks a lot ...
a source to share
The process is very tedious and error prone. I think you may find the following article on Add-In Express helpful:
HowTo: Convert Exchange Email Address To SMTP Email Address
I think they don't need their tools to work, but I'm not quite sure as I was when I tried this. The code is in VB, but they have a sample project available for download in C # if you prefer. It's quite long and has a lot of COM calls, so experience with that will be necessary. Also I'm not really sure if it will work on 64 bit Outlook. You might want to try this first.
a source to share