|
Hi all, i'm trying rebex library. When using ImapBrowser sample (or ImapConsoleClient) in Implicit Security mode, i can connect with almost all servers but one, thath respond ERROR 119 invalid user or password err 2 (NO). User and password are correct, as i can connect via web mail and mailbee libraries too. Any suggestion, plz? Thx Diego |
Please check out http://www.rebex.net/kb/logging.aspx, add logging capabilities to one of the samples and produce a log showing this error. Then mail the log to us (support@rebex.net) or edit your question to include it. We should be able to tell more then.
Explicitly specifying an authentication method in the Imap.Login call might help - it is possible that default one doesn't work on this server and using a different method might be a usable workaround.
Is there any news on this? Have you been able to solve this or produce the communication log?
Thx, we have purchased source, and debugging at login function, we found that in standard sequence, the library (imap.cs line 2534) execute first the line if (Array.IndexOf(_authTypes, ImapAuthentication.CramMD5, 0, _authTypes.Length) >= 0){
LoginInternal(userName, password, ImapAuthentication.CramMD5, null);
return; and in log we read:
Response: R00002 NO ERROR 119 invalid user or password err 2
but if we move ahead the line
if (Array.IndexOf(_authTypes, ImapAuthentication.ClearText, 0, _authTypes.Length) >= 0) the login is OK.
Is it a Server issue?
Thx
Diego