We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

"Mailbox Does Not Exist" Error on Latest Version

After the update to the latest version of Aspose, some of our customers are receiving this errors:

Folder Id: ‘msgfolderroot’; Message: Mailbox does not exist.
Folder Id: ‘calendar’; Message: Mailbox does not exist.
Folder Id: ‘contacts’; Message: Mailbox does not exist.
Folder Id: ‘deleteditems’; Message: Mailbox does not exist.
Folder Id: ‘drafts’; Message: Mailbox does not exist.
Etc…

This is the error stack trace:

#=zBRjhtKi5SUefeXsThKK4xr9er4X6lr6ASsFOH3Oclnfe6upJU8hRKPcffqI4RHYoSQ==.#=zI4w2V_kJQZVF(Int32 #=z86tXiBI=, DistinguishedFolderIdType[] #=zXExWzBE$DrJH, StringBuilder #=z$1z4obIwL7NI)
à #=zBRjhtKi5SUefeXsThKK4xr9er4X6lr6ASsFOH3Oclnfe6upJU8hRKPcffqI4RHYoSQ==.#=zXvkRaDS6AfvW(GetFolderResponseType #=zeZxBaNeIj4xT, DistinguishedFolderIdType[] #=zXExWzBE$DrJH)
à #=zBRjhtKi5SUefeXsThKK4xr9er4X6lr6ASsFOH3Oclnfe6upJU8hRKPcffqI4RHYoSQ==.#=z17pYD6SB9qhF0uc5Ew==(String #=zqru4_O$Tz88C)
à #=zBRjhtKi5SUefeXsThKK4xr9er4X6lr6ASsFOH3Oclnfe6upJU8hRKPcffqI4RHYoSQ==.#=z2rbcoig=(String #=zqru4_O$Tz88C)
à #=zjJnCF1e1gr8_MCp_Kn2S5E8RH$0KjWbGYdA_yaqzcCRw.GetMailboxInfo(String #=zqru4_O$Tz88C)
à #=zjJnCF1e1gr8_MCp_Kn2S5E8RH$0KjWbGYdA_yaqzcCRw.GetMailboxInfo()
à Aspose.Email.Clients.Exchange.WebService.EWSClient.GetEWSClient(String mailboxUri, String username, String password)

@albertose,
Thank you for contacting support.

Please enable activity logging as shown here (use the same way for EWS) and share the following:

  • generated log file
  • code example or a simple project reproducing the errors

Hi Andrey,

here’s the code sample:

string serviceUrl = "https://outlook.office365.com/EWS/Exchange.asmx";
string username = "test@test.onmicrosoft.com";
string password = "*******";

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Ssl3;

ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;

var service = EWSClient.GetEWSClient(serviceUrl, username, password);

Generated logs show the same error message.

@albertose,
Thank you for the additional information. We will reply to you as soon as possible.

@albertose,
Unfortunately, I was unable to reproduce the error you described. This code example works fine from my end. It would be great if you could share test credentials with us. The log file mentioned above is also important.