diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2016-05-11 23:39:28 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2016-05-11 23:39:28 -0700 |
commit | c9ab1686579a7368d9a81335160d563186cdfbdc (patch) | |
tree | 19b9d4168ade5874c43465db8d34eabe673c4ae0 /src/core/imap/MCIMAPSession.cpp | |
parent | 5c856703c1a1683fd5494e7e584bd214bcc3990a (diff) |
Added error code
Diffstat (limited to 'src/core/imap/MCIMAPSession.cpp')
-rwxr-xr-x | src/core/imap/MCIMAPSession.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/imap/MCIMAPSession.cpp b/src/core/imap/MCIMAPSession.cpp index 9847d1cf..a09172ec 100755 --- a/src/core/imap/MCIMAPSession.cpp +++ b/src/core/imap/MCIMAPSession.cpp @@ -863,6 +863,9 @@ void IMAPSession::login(ErrorCode * pError) else if (response->locationOfString(MCSTR("OCF12")) != -1) { * pError = ErrorYahooUnavailable; } + else if (response->locationOfString(MCSTR("Login to your account via a web browser")) != 1) { + * pError = ErrorOutlookLoginViaWebBrowser; + } else { * pError = ErrorAuthentication; } |