Allow "200" response code to RSET command, as per RFC-876.
This commit is contained in:
parent
696e3ff902
commit
f08431b065
@ -212,7 +212,11 @@ void SMTPTransport::sendEnvelope
|
||||
{
|
||||
commands->writeToSocket(m_connection->getSocket());
|
||||
|
||||
if ((resp = m_connection->readResponse())->getCode() != 250)
|
||||
resp = m_connection->readResponse();
|
||||
|
||||
if (resp->getCode() != 250 &&
|
||||
resp->getCode() != 200) // RFC-876: << In reply to a RSET and/or a NOOP command,
|
||||
// some servers reply "200" >>
|
||||
{
|
||||
disconnect();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user