src/core/framework/core/3rdparty/ezcomponents/Mail/src/transports/mbox/mbox_set.php
public function getNextLine()
    {
        if ( $this->currentMessagePosition === 0 )
        {
            $this->nextMail();
        }
        if ( $this->hasMoreMailData )
        {
            $data = fgets( $this->fh );
            if ( feof( $this->fh ) || substr( $data, 0, 5 ) === "From " )
            {
                $this->hasMoreMailData = false;

                return null;
            }
            return $data;
        }
        return null;
    }
public function getNextLine()
    {
        if ( $this->currentMessagePosition === 0 )
        {
            $this->nextMail();
        }
        if ( $this->hasMoreMailData )
        {
            $data = fgets( $this->fh );
            if ( feof( $this->fh ) || substr( $data, 0, 5 ) === "From " )
            {
                $this->hasMoreMailData = false;

                return null;
            }
            return $data;
        }
        return null;
    }
public function getNextLine ( ) { if ( $ this -> currentMessagePosition === 0 ) { $ this -> nextMail ( ) ; } if ( $ this -> hasMoreMailData ) { $ data = fgets ( $ this -> fh ) ; if ( feof ( $ this -> fh ) || substr ( $ data , 0 , 5 ) === "From " ) { $ this -> hasMoreMailData = false ; return null ; } return $ data ; } return null ; }
Returns one line of data from the current mail in the set
including the ending linebreak.

Null is returned if there is no current mail in the set or
the end of the mail is reached.

@return string
Returns one line of data from the current mail in the set including the ending linebreak .