How to get specific error for wrong password or username and IMAP disabled?

Sep 13, 2013 at 8:09 AM
Hi there,
I need to distinguish between errors for logging in process.
How can I get specific error for wrong password or username and IMAP disabled when I use client.LogIn method?

Regards

Ehsan
Coordinator
Sep 13, 2013 at 9:16 AM
Hi Ehsan,

thank you for your question! The current version of the library (2.0.0.9) doesn't give any hint about what kind of exception has occured (no connection, invalid credentials, login disabled, captcha request, imap disabled).

The next version 2.0.0.10, which will be released next week will give this kind of information using different exceptions.

Greets,

Pavel
Sep 13, 2013 at 11:41 AM
Great thanks!
Oct 20, 2013 at 2:12 PM
Still looking forward for new version