diff options
author | Sergei Epatov <sepatov@readdle.com> | 2015-08-10 16:40:10 +0300 |
---|---|---|
committer | Sergei Epatov <sepatov@readdle.com> | 2015-08-10 16:40:10 +0300 |
commit | b820ded7241a857b479a5a1786e26d1a77697482 (patch) | |
tree | 6889da019bf09423c7cdd339ff3ffa523e26c89b /src | |
parent | 8ab1bb6d6bd7e439521d4e692375f04d52bb49a3 (diff) |
- MCSMTPSession: use "5.7.1 " and "5.3.4 " error prefixes
Diffstat (limited to 'src')
-rw-r--r-- | src/core/smtp/MCSMTPSession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/smtp/MCSMTPSession.cpp b/src/core/smtp/MCSMTPSession.cpp index 375ef4b6..0c2016fd 100644 --- a/src/core/smtp/MCSMTPSession.cpp +++ b/src/core/smtp/MCSMTPSession.cpp @@ -673,11 +673,11 @@ void SMTPSession::sendMessage(Address * from, Array * recipients, Data * message } else if (r != MAILSMTP_NO_ERROR) { if ((responseCode == 550) && (response != NULL)) { - if (response->hasPrefix(MCSTR("5.3.4"))) { + if (response->hasPrefix(MCSTR("5.3.4 "))) { * pError = ErrorNeedsConnectToWebmail; goto err; } - else if (response->hasPrefix(MCSTR("5.7.1 Client does not have permissions to send as this sender"))) { + else if (response->hasPrefix(MCSTR("5.7.1 "))) { * pError = ErrorSendMessageNotAllowed; goto err; } |