Hello everyone, I have the following issue:
If for any reason the combination Connect (or ConnectSSL) or UseBestLogin fail, there is only a standard exception back, or a ImapResponseException.
The associated message is correct, and we log it to a log file, so we know what really happened, but we need to re-map different reasons to localized strings for a client GUI.
At the moment I can only display a unique localized string, which basically says to check URL, Login, Password or other...I cannot offer specific error messages.
Is there any way to get the reason of a connect-login failure, without using the associated exception message?
Before I was using an old POP3 library (I say this just to make an example) and I had several Exceptions back, corresponding to several possible failure reasons. Then I could map them to the localized strings for the GUI.
Thanks a lot for support,
Emilio