How to get SMTP address for exchange user quickly?
问题 The below is my code, the PrimarySmtpAddress use 50ms which need more than 15 s to load more 300 users. I am not familiar with Outlook API, and it seems this Property is the usual way to retrieve the SMTP address, but it is far too slow. Is there other way to retrieve the SMTP address or I use this property incorrectly? The .NetFramework is 3.5 Outlook Version is 2010 Microsoft.Office.Interop.Outlook is 12.0.0.0 Microsoft.Office.Interop.Outlook.NameSpace olNS = outlook.GetNamespace("MAPI");