PHP Classes

BUG $parse->received; doesn't do it's job

Recommend this page to a friend!

      Parse Mail  >  All threads  >  BUG $parse->received; doesn't do...  >  (Un) Subscribe thread alerts  
Subject:BUG $parse->received; doesn't do...
Summary:only one header line is contained in the above command.
Messages:1
Author:Patrick Brueckner
Date:2007-03-04 22:13:28
 

  1. BUG $parse->received; doesn't do...   Reply   Report abuse  
Picture of Patrick Brueckner Patrick Brueckner - 2007-03-04 22:13:28
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 [217.72.192.184])
by server3.paddy-net.com (Postfix) with ESMTP id C504920032F5
for <stopspam@mail@stopspam@patrick-brueckner.de>; 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@stopspam@patrick-brueckner.de>; Sun, 4 Mar 2007 22:37:05 +0100 (CET)
Received: from [84.147.252.60] 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.

Kind Regards,
paddy