public function resetCmd() { $this->login(); // See RFC 5321 [4.1.1.5]. // RSET only useful if we are already authenticated. if (!is_null($this->_extensions)) { $this->_connection->write('RSET'); $this->_getResponse(250); } }