public function fetchAll( $deleteFromServer = false )
    {
        $messages = $this->listMessages();
        return new ezcMailPop3Set( $this->connection, array_keys( $messages ), $deleteFromServer );
    }
public function fetchAll( $deleteFromServer = false )
    {
        $messages = $this->listMessages();
        return new ezcMailPop3Set( $this->connection, array_keys( $messages ), $deleteFromServer );
    }
public function fetchAll ( $ deleteFromServer = false ) { $ messages = $ this -> listMessages ( ) ; return new ezcMailPop3Set ( $ this -> connection , array_keys ( $ messages ) , $ deleteFromServer ) ; }
Returns an ezcMailPop3Set with all the messages on the server.

If $deleteFromServer is set to true the mail will be removed from the
server after retrieval. If not it will be left.

Before calling this method, a connection to the POP3 server must be
established and a user must be authenticated successfully.

Example:
<code>
$pop3 = new ezcMailPop3Transport( 'pop3.example.com' );
$pop3->authenticate( 'username', 'password' );

$set = $pop3->fetchAll();

// parse $set with ezcMailParser
$parser = new ezcMailParser();
$mails = $parser->parseMail( $set );
foreach ( $mails as $mail )
{
// process $mail which is an ezcMail object
}
</code>

@throws ezcMailTransportException
if there was no connection to the server
or if not authenticated
or if the server sent a negative response
@param bool $deleteFromServer
@return ezcMailParserSet
Returns an ezcMailPop3Set with all the messages on the server .