Sends the QUIT command.
The QUIT command causes the server to perform any closing operations and to close the connection.
The server always responds with a 221 reply to the QUIT command.
| Exception Type | Condition |
|---|---|
| Exception | If a network or protocol error occurs. |
SmtpClient Class | Hunny.Mail Namespace | QUIT command in the SMTP specification