diff options
author | 2015-04-01 23:35:46 -0700 | |
---|---|---|
committer | 2015-04-02 23:50:04 -0700 | |
commit | cbee27cd693ceed2738d88a39e71d7a599b9e28f (patch) | |
tree | 2e498b2fe2f60532fc866bc5f96ce4ef65c47c88 /src/core/smtp/MCSMTPSession.cpp | |
parent | 0d010747d431b612eac5959d9db832dcfdaf46b1 (diff) |
disconnection operation, disconnect when pipeline is enabled
Diffstat (limited to 'src/core/smtp/MCSMTPSession.cpp')
-rw-r--r-- | src/core/smtp/MCSMTPSession.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/smtp/MCSMTPSession.cpp b/src/core/smtp/MCSMTPSession.cpp index eab05730..cb9b02cb 100644 --- a/src/core/smtp/MCSMTPSession.cpp +++ b/src/core/smtp/MCSMTPSession.cpp @@ -626,6 +626,7 @@ void SMTPSession::sendMessage(Address * from, Array * recipients, Data * message r = mailesmtp_send_quit(mSmtp, MCUTF8(from->mailbox()), 0, NULL, address_list, messageData->bytes(), messageData->length()); + mShouldDisconnect = true; } else { r = mailesmtp_send(mSmtp, MCUTF8(from->mailbox()), 0, NULL, |