Merge PR #725: MailNotification: Fix double mail ending
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…
Reference in New Issue