Last post May 04, 2016 12:49 PM by dave1954
May 03, 2016 07:09 PM|dave1954|LINK
I want to use ExchangeService to get user email address.
I know only last and first names of the user.
Is it possible to do this?
If yes, can anybody give me a code to get the email?
Thanks in advance,
May 04, 2016 11:26 AM|PatriceSc|LINK
Try perhaps something such as
May 04, 2016 12:49 PM|dave1954|LINK
Thank you very much for your help.
I tried the following:
Dim instance As ExchangeService
instance = New ExchangeService(ExchangeVersion.Exchange2007_SP1)
Dim nameToResolve As String = "FirstName LastName"
Dim returnValue As NameResolutionCollection
returnValue = instance.ResolveName(nameToResolve)
and I got an error on returnValue "The Url property on the ExchangeService object must be set."