src/core/framework/core/3rdparty/ezcomponents/Mail/src/transports/mbox/mbox_transport.php
private function findFirstMessage()
    {
        $data = fgets( $this->fh );
        fseek( $this->fh, 0 );
        if ( substr( $data, 0, 18 ) === 'From MAILER-DAEMON' )
        {
            return $this->findNextMessage();
        }
        else
        {
            return 0;
        }
    }
private function findFirstMessage()
    {
        $data = fgets( $this->fh );
        fseek( $this->fh, 0 );
        if ( substr( $data, 0, 18 ) === 'From MAILER-DAEMON' )
        {
            return $this->findNextMessage();
        }
        else
        {
            return 0;
        }
    }
private function findFirstMessage ( ) { $ data = fgets ( $ this -> fh ) ; fseek ( $ this -> fh , 0 ) ; if ( substr ( $ data , 0 , 18 ) === 'From MAILER-DAEMON' ) { return $ this -> findNextMessage ( ) ; } else { return 0 ; } }
Finds the position of the first message while skipping a possible header.

Mbox files can contain a header which does not describe an email
message. This method skips over this optional header by checking for a
specific From MAILER-DAEMON header.

@return int
Finds the position of the first message while skipping a possible header .