mailparse : Parsed email only list one received header when there are multiple email hops

From: Date: Mon, 23 Apr 2007 09:41:21 +0000
Subject: mailparse : Parsed email only list one received header when there are multiple email hops
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4669@lists.php.net to get a copy of this message
Dear sir, I was toying around with mailparse because I think it can be usefull for me. When an email header has multiple email hops (received:) it only shows the first hop. Example part of mail header: Received: from dsl85-107-19620.ttnet.net.tr (unknown [85.107.76.164])
        by mail.xxxxxxx.nl (Postfix) with ESMTP id F3DCA1F01BC;
        Mon, 23 Apr 2007 11:03:54 +0200 (CEST)
Received: from 205.178.149.7 (HELO INBOUND.CONESSINTL.COM.NETSOLMAIL.NET)
     by xxxxxx.nl with esmtp (379W95EA0 X?A3)
     id NAT1P0-*,R*@Q-A(
     for abuse@xxxxxxx.nl; Mon, 23 Apr 2007 09:03:56 -0200
When using mailparse it puts 205.178.149.7 in the array. But the real sending server 85.107.76.164 is not being named. I used the standard try.php script to get the result. I dunno if it's a bug or I did something wrong. Greetings, G-Man

« previous php.pecl.dev (#4669) next »