aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/smtp/MCSMTPSession.cpp4
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;
}