NetTalk Central

Author Topic: (XPost) Interacting with Exchange Web Services (EWS)  (Read 1651 times)

Stu

  • Hero Member
  • *****
  • Posts: 509
    • View Profile
    • Email
(XPost) Interacting with Exchange Web Services (EWS)
« on: June 04, 2014, 03:39:53 PM »
[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?
« Last Edit: June 04, 2014, 05:11:54 PM by Stu »
Cheers,

Stu Andrews