I have tested the scenario you have mentioned with our online exchange server 2010. The password contains a “*” at the end. However, I am afraid to share that I was not able to reproduce this issue at my end with this email account.
In order to investigate this issue further, I would request you to please create a test account for us on the mentioned server and pass on the credentials to us so that we can use it at our end to reproduce this issue and assist you further. Please make sure to make this thread private in case the account contains confidential data. The following code was used at my end for testing:
I use an internal email server. Unfortunately, it's not possible for me to give you access to an email account. The email server is a 2003 Exchange server. I think that the server use a Basic or NTLM authentication.
I will try to investigate this problem by myself, but if you have any sugestion you're welcome.
In case of NTLM, could you please use the ImapClient.UseDefaultCredentials = true at your end? The complete sample code is as follow, assuming that “server” refers to the settings of your host server. Please let us know your feedback then.
Sample Code:
using (ImapClient imapClient = new ImapClient(server.ImapUrl, server.ImapPort))