diff options
-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 a09172ec..b48979bc 100755 --- a/src/core/imap/MCIMAPSession.cpp +++ b/src/core/imap/MCIMAPSession.cpp @@ -845,6 +845,9 @@ void IMAPSession::login(ErrorCode * pError) if (response->locationOfString(MCSTR("not enabled for IMAP use")) != -1) { * pError = ErrorGmailIMAPNotEnabled; } + else if (response->locationOfString(MCSTR("IMAP access is disabled")) != -1) { + * pError = ErrorGmailIMAPNotEnabled; + } else if (response->locationOfString(MCSTR("bandwidth limits")) != -1) { * pError = ErrorGmailExceededBandwidthLimit; } |