Login   Register  
PHP Classes
elePHPant
Icontem

mime eml parser can not parse un-normal eml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      MIME E-mail message parser  >  All threads  >  mime eml parser can not parse un-normal eml  >  (Un) Subscribe thread alerts  
Subject:mime eml parser can not parse un-normal eml
Summary:mime parser can not parse eml of header format is not standard
Messages:7
Author:shrimpma
Date:2012-07-05 11:35:36
Update:2012-07-06 03:48:01
 

  1. mime eml parser can not parse un-normal eml   Reply   Report abuse  
Picture of shrimpma
shrimpma
2012-07-05 11:35:36
first forgive me my poor english.

I am very glad to use this php lib.

when use this lib to parse eml file like follows :
----------------------------------linkbreak
Received: from pc-corner (unknown [123.120.25.39])
by smtp6 (Coremail) with SMTP id j9KowLArtQIP5_NP7QgTAw--.854S2;
Wed, 04 Jul 2012 14:47:44 +0800 (CST)
From: maartenma <maartenma@126.com>
To: maartenma <maartenma@126.com>
Subject: =?utf-8?B?Rm94bWFpbOWPkeWHuueahOa1i+ivlemCruS7tg==?=
Date: Wed, 4 Jul 2012 14:48:06 +0800
X-Mailer: Foxmail 7.0.1.88[cn]
Mime-Version: 1.0
Message-ID: <201207041448066871770@pc-corner>
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: base64
X-CM-TRANSID:j9KowLArtQIP5_NP7QgTAw--.854S2
X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73
VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUFiSlDUUUU
X-CM-SenderInfo: hpdd23phqptqqrswhudrp/1tbi3Azh00kBu9fKoAAAss

6L+Z5pivRm94bWFpbOWcqOS4uuaCqOmFjee9rlNNVFDmnI3liqHlmajml7blj5Hlh7rnmoTmtYvo
r5Xpgq7ku7bjgII=

---linebreak

the above is eml source code opened with editPlus tool.

It woks well. I can get eml header information.


but if the eml source file like follows:


-----------------------linebreak


-------------------linkebreak



  2. Re: mime eml parser can not parse un-normal eml   Reply   Report abuse  
Picture of shrimpma
shrimpma
2012-07-05 11:37:20 - In reply to message 1 from shrimpma
Received: from mailer.dianping.com (unknown [180.153.141.140])

  3. Re: mime eml parser can not parse un-normal eml   Reply   Report abuse  
Picture of shrimpma
shrimpma
2012-07-05 11:41:00 - In reply to message 1 from shrimpma


I can not get basic header info suc as from, subject, date,to,cc
but open the eml with email client it works well.
do i make it clear ?
thanks advance!

  4. Re: mime eml parser can not parse un-normal eml   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2012-07-05 22:58:28 - In reply to message 1 from shrimpma
This message seems broken.

Can you upload it intact somewhere so I can try to reproduce the problem?

  5. Re: mime eml parser can not parse un-normal eml   Reply   Report abuse  
Picture of shrimpma
shrimpma
2012-07-06 02:56:35 - In reply to message 4 from Manuel Lemos
but where to upload the eml file ?I can not find where to upload file.

here you can download the eml file

http://t1.dfs.kuaipan.cn/cdlsched/getdl?fid=8038069949169682 ...:8038069949169682,pickupCode:

  6. Re: mime eml parser can not parse un-normal eml   Reply   Report abuse  
Picture of shrimpma
shrimpma
2012-07-06 02:58:06 - In reply to message 4 from Manuel Lemos
you can download the eml file here

http://t1.dfs.kuaipan.cn/cdlsched/getdl?fid=8038069949169682 ...:8038069949169682,pickupCode:

  7. Re: mime eml parser can not parse un-normal eml   Reply   Report abuse  
Picture of shrimpma
shrimpma
2012-07-06 03:48:01 - In reply to message 4 from Manuel Lemos
you can down load it here

http://vdisk.weibo.com/s/8aOmG

at this page click the bule button to download the eml file .