SMTP::Quit
Sends the quit command to the server and then closes the socket if there is no error or the $close_on_error argument is true.
Implements from rfc 821: QUIT <CRLF> SMTP CODE SUCCESS: 221 SMTP CODE ERROR : 500
Signature
public function Quit([bool
$close_on_error = true] )
Parameters
-
$close_on_error
Returns
- bool