def close_connection(self):
        "Request a connection close from the SMTP session handling instance."
        if self._is_connected:
            self._is_connected = False
            self._command_parser.close_when_done()
def close_connection ( self ) : if self . _is_connected : self . _is_connected = False self . _command_parser . close_when_done ( )
Request a connection close from the SMTP session handling instance.