Is there anyway to search Outlook address box for a contact using their email address without any sort of For Loops? There are so many contacts in our Global Contact List and it takes forever to go through the list. Is there no search or find function that can be applied to the contact list.
I am looking to get information like the phone # and office for the user if they are found in the contact list.
All the solutions that I have found involve looping through the contact list. http://www.ozgrid.com/forum/showthread.php?t=76588
https://msdn.microsoft.com/en-us/library/office/ff869721.aspx
Use Namespace.CreateRecipient
/ Recipient.Resolve
to resolve the name (or address) in the address book. Even if you pass an SMTP address, it will be resolved to a GAL user (if there is a match).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With