I wanted to use this class to extract all Received Lines from mails, and these are the received lines of my testmail:
Received: from fmmailgate09.web.de (fmmailgate09.web.de [220.127.116.11])
by server3.paddy-net.com (Postfix) with ESMTP id C504920032F5
for <stopspam@mail@email@example.com>; Sun, 4 Mar 2007 22:37:09 +0100 (CET)
Received: from web.de
by fmmailgate09.web.de (Postfix) with SMTP id 5C10F3F6831
for <stopspam@mail@firstname.lastname@example.org>; Sun, 4 Mar 2007 22:37:05 +0100 (CET)
Received: from [18.104.22.168] by freemailng1101.web.de with HTTP;
but $parse->headers; only contains the last line. I'm not sure, wheter this is a problem of the regexp used to determine the lines, because this is the only single-lined received header or it is something else.
Anyhow, this seems to be a bug to me. Would be nice if someone had a look at it.