Merge PR #725: MailNotification: Fix double mail ending
This commit is contained in:
commit
659bd2ec82
@ -351,7 +351,7 @@ void SmtpClient::processServerResponse(int responseCode, const QString &response
|
|||||||
break;
|
break;
|
||||||
case StateBody:
|
case StateBody:
|
||||||
if (responseCode == 354) {
|
if (responseCode == 354) {
|
||||||
send(m_messageData + "\r\n.\r\n");
|
send(m_messageData);
|
||||||
setState(StateQuit);
|
setState(StateQuit);
|
||||||
} else {
|
} else {
|
||||||
handleUnexpectedSmtpCode(responseCode, response);
|
handleUnexpectedSmtpCode(responseCode, response);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user