HI
When Running the following code:
Dim AssistEmailAddress As String = strEmail
Dim AssistEmailPassword As String = strEmailPass
Dim Credentials As New NetworkCredential(AssistEmailAddress, AssistEmailPassword)
ServicePointManager.ServerCertificateValidationCallback = New RemoteCertificateValidationCallback(AddressOf RemoteCertificateValidationHandler)
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
Client = EWSClient.GetEWSClient(MailboxURI, Credentials)
I get the error:
“The request failed with HTTP status 401: Unauthorized”
It was working a day ago, and nothing with regards to the code or the email account has changed.