public function disconnect()
    {
        /* If we have an SMTP object, disconnect and destroy it. */
        if (is_object($this->_smtp) && $this->_smtp->disconnect()) {
            $this->_smtp = null;
        }

        /* We are disconnected if we no longer have an SMTP object. */
        return ($this->_smtp === null);
    }
public function disconnect()
    {
        /* If we have an SMTP object, disconnect and destroy it. */
        if (is_object($this->_smtp) && $this->_smtp->disconnect()) {
            $this->_smtp = null;
        }

        /* We are disconnected if we no longer have an SMTP object. */
        return ($this->_smtp === null);
    }
public function disconnect ( ) { /* If we have an SMTP object, disconnect and destroy it. */ if ( is_object ( $ this -> _smtp ) && $ this -> _smtp -> disconnect ( ) ) { $ this -> _smtp = null ; } /* We are disconnected if we no longer have an SMTP object. */ return ( $ this -> _smtp === null ) ; }
Disconnect and destroy the current SMTP connection.

@return boolean True if the SMTP connection no longer exists.
Disconnect and destroy the current SMTP connection .