Fixed bug when disconnecting SMTP.

This commit is contained in:
Vincent Richard 2005-11-30 12:12:01 +00:00
parent 0b49fc98b3
commit aba576a3a9

View File

@ -471,7 +471,14 @@ void SMTPTransport::disconnect()
void SMTPTransport::internalDisconnect()
{
sendRequest("QUIT");
try
{
sendRequest("QUIT");
}
catch (exception&)
{
// Not important
}
m_socket->disconnect();
m_socket = NULL;