Retrieve Outlook logged-in user SMTP address after connecting through OLE
问题 Exchange Web Services has a ResolveNames() function that I can use to retrieve (among other things) the primary SMTP address for the Active Directory user that logged on to Exchange Server through EWS. I am now programming through OLE against Outlook and would like the same functionality. I have been browsing through the Outlook object model but can't find an appropriate object or method. Does anyone know of an object/method that I can use to get the primary SMTP address? Below is the current