[Apologies, should have been posted to the Other Stuff forum]
Hi Folks,
I'm trying to get access to emails through Exchange Web Services.
When needing authorization, I've been using ThisWebClient.Authorization = ThisWebClient.CreateAuthorizationString(username,password) in a procedure with a NetWebClient object.
At the moment, accessing the EWS page (
https://mailserver.com/ews/Exchange.asmx) with the above gives back 401s.
Reading
http://msdn.microsoft.com/en-us/library/office/dd633692(v=exchg.80).aspx makes me wonder if I need to somehow include the "Domain" in there. I've tried "domain\username" in the above username, but it doesn't seem to work.
Any ideas/thoughts?