diff options
-rw-r--r-- | src/core/smtp/MCSMTPSession.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/smtp/MCSMTPSession.cpp b/src/core/smtp/MCSMTPSession.cpp index b75ec215..d75972bb 100644 --- a/src/core/smtp/MCSMTPSession.cpp +++ b/src/core/smtp/MCSMTPSession.cpp @@ -484,9 +484,14 @@ void SMTPSession::login(ErrorCode * pError) } if (authType() == 0) { +#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE + if (0) { + } +#else if (mSmtp->auth & MAILSMTP_AUTH_DIGEST_MD5) { setAuthType((AuthType) (authType() | AuthTypeSASLDIGESTMD5)); } +#endif else if (mSmtp->auth & MAILSMTP_AUTH_CRAM_MD5) { setAuthType((AuthType) (authType() | AuthTypeSASLCRAMMD5)); } |