PHPMailer\PHPMailer\SMTP::quit
Send an SMTP QUIT command.
Closes the socket if there is no error or the $close_on_error argument is true. Implements from RFC 821: QUIT <CRLF>.
Signature
public function quit([boolean
$close_on_error = true] )
Parameters
$close_on_error
— boolean- Should the connection close if an error occurs?
Returns
- bool