public function Close()
    {
        $this->error     = null; // so there is no confusion
        $this->helo_rply = null;
        if (!empty($this->smtp_conn)) {
            // close the connection and cleanup
            fclose($this->smtp_conn);
            $this->smtp_conn = 0;
        }
    }
public function Close()
    {
        $this->error     = null; // so there is no confusion
        $this->helo_rply = null;
        if (!empty($this->smtp_conn)) {
            // close the connection and cleanup
            fclose($this->smtp_conn);
            $this->smtp_conn = 0;
        }
    }
public function Close ( ) { $ this -> error = null ; // so there is no confusion $ this -> helo_rply = null ; if ( ! empty ( $ this -> smtp_conn ) ) { // close the connection and cleanup fclose ( $ this -> smtp_conn ) ; $ this -> smtp_conn = 0 ; } }
Closes the socket and cleans up the state of the class.
It is not considered good to use this function without
first trying to use QUIT.
@access public
@return void
Closes the socket and cleans up the state of the class . It is not considered good to use this function without first trying to use QUIT .