Password limitations for ImapClient

Hi,

I have problem with login to inbox by ImapClient when password contains characters #,@,%. I am getting following error message AE_1_1_0001 NO incorrect password or account name. If I try to login via UI, it works fine.

Login to another inbox on the same server with password containing only letters and digit works fine.

Is there some limitation for password used in ImapClient?

@prusnak,
Welcome to our community! Thank you for the query. As I know, there are no limitations for passwords used in ImapClient class. To investigate this case, please share and specify the following:

  • the code example reproducing the error
  • the version of Aspose.Email you used

It would be great if you could provide the test credentials to check the issue on our side.
But first, please check the issue with the latest version of Aspose.Email (for .NET or for Java).

Code is very simple(.NET):
var imapClient = new ImapClient(“xxx”, 993, “xxx”, “xxx”);
imapClient.Timeout = 30000;
imapClient.SecurityOptions = Aspose.Email.Clients.SecurityOptions.SSLAuto;
imapClient.SelectFolder(“INBOX”);

Version is 21.1.4. I tried last one with same result.

More detailed info about password - start with @ and % inside.

@prusnak,
Unfortunately, I have not managed to reproduce the error. I used passwords with the characters you suggested. The connection was fine. I guess the issue doesn’t relate to Aspose.Email. You should check your application code.