This error is generated when I try to read emails from my mailbox. knowing that I am using aspose email version 22.5.
Please provide a code sample and, if possible, a message file so that we can investigate your problem.
Here my code :
Dim client As IEWSClient = GetAsposeEWSClient() Private Function GetAsposeEWSClient() As IEWSClient System.Net.ServicePointManager.ServerCertificateValidationCallback = New System.Net.Security.RemoteCertificateValidationCallback(AddressOf RemoteServerCertificateValidationCallback) Dim mailboxURI As String = "*********" Dim username As String = "**********" Dim password As String = "********" Dim domain As String = "**********" Dim credential As NetworkCredential = New NetworkCredential(username, password, domain) Dim client As IEWSClient = EWSClient.GetEWSClient(mailboxURI , credential) Return client End Function
Here the exception :
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
We tried to reproduce the problem on our side, but the exception did not reproduce. Can you check this with the latest version of Aspose.Email?