Fixed bug when disconnecting SMTP.
This commit is contained in:
parent
0b49fc98b3
commit
aba576a3a9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user