public function disconnect()
    {
        if ( $this->state != self::STATE_NOT_CONNECTED )
        {
            $this->connection->sendData( 'QUIT' );
            $this->connection->getLine(); // discard
            $this->state = self::STATE_UPDATE;

            $this->connection->close();
            $this->connection = null;
            $this->state = self::STATE_NOT_CONNECTED;
        }
    }
public function disconnect()
    {
        if ( $this->state != self::STATE_NOT_CONNECTED )
        {
            $this->connection->sendData( 'QUIT' );
            $this->connection->getLine(); // discard
            $this->state = self::STATE_UPDATE;

            $this->connection->close();
            $this->connection = null;
            $this->state = self::STATE_NOT_CONNECTED;
        }
    }
public function disconnect ( ) { if ( $ this -> state != self :: STATE_NOT_CONNECTED ) { $ this -> connection -> sendData ( 'QUIT' ) ; $ this -> connection -> getLine ( ) ; // discard $ this -> state = self :: STATE_UPDATE ; $ this -> connection -> close ( ) ; $ this -> connection = null ; $ this -> state = self :: STATE_NOT_CONNECTED ; } }
Disconnects the transport from the POP3 server.
Disconnects the transport from the POP3 server .