This is a continuous issue of IMAP LOGIN password syntax
In previous issues, we changed the logic that Aspose IMAP client will quote the password with special characters (e.g. ‘*’) when LOGIN command is used.
But recently we find a issue that it seems that the other authenticate method is also impact by the change.
You can view the detail of old issue. The QUOTE is aimed to handle the password with special characters when LOGIN command is used, but other command, like AUTHENTICATE, should not be touched.
I did some test. It seems the password is also quoted when AUTHENTICATE PLAIN is used to do the authenticate. The server will always return a NO response. And I test with an open source dll S22.IMAP which on Github and it could connect to my server with PLAIN authenticate, so that I could make sure the AUTHENTICATE PLAIN is working well.
Could you help to check/review that the password quote is only used when LOGIN command is used and this will not impact on other authenticate method(especially PLAIN)?
I’m using Aspose.Email with C#. and the latest version 24.6 also has the same issue.
And if you would like a sample code,
it’s just a sample code for initializing of a IMAP client like:
AsposeImapClient = new Aspose.Email.Clients.Imap.ImapClient(IMAPAddress, IMAPPort, UserName, Password, SecurityOptions);
AsposeImapClient.ReadOnly = true;
Thanks in advance.