diff options
-rw-r--r-- | src/vmime/net/smtp/SMTPConnection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vmime/net/smtp/SMTPConnection.cpp b/src/vmime/net/smtp/SMTPConnection.cpp index 26be25db..e0b5bc68 100644 --- a/src/vmime/net/smtp/SMTPConnection.cpp +++ b/src/vmime/net/smtp/SMTPConnection.cpp @@ -525,7 +525,9 @@ void SMTPConnection::internalDisconnect() try { sendRequest(SMTPCommand::QUIT()); - readResponse(); + + // Do not wait for server response. This is contrary to the RFC, but + // some servers never send a response to a QUIT command. } catch (exception&) { |