221 Closing Connection
The server is closing the transmission channel. This is the normal response to the QUIT command, indicating a graceful end to the SMTP session.
On this page
When You See This Code
After sending the QUIT command at the end of a mail session. The server acknowledges the disconnect and the TCP connection will be closed.
How to Fix
No fix needed — this is the expected response when ending an SMTP session. If you see this unexpectedly, the server may be shutting down or timing out idle connections.
Specification
Compare With
Guides
Glossary
Frequently Asked Questions
What is SMTP 221 Closing Connection?
The server is closing the transmission channel. This is the normal response to the QUIT command, indicating a graceful end to the SMTP session.
When do you see SMTP 221 Closing Connection?
After sending the QUIT command at the end of a mail session. The server acknowledges the disconnect and the TCP connection will be closed.
How to fix SMTP 221 Closing Connection?
No fix needed — this is the expected response when ending an SMTP session. If you see this unexpectedly, the server may be shutting down or timing out idle connections.