**I use php lib mineparse (include file eml_parse.php,mime_coding.php,mime_parse.php,rfc822_address.php) parse file like *.eml,
I want to get information about mail subject,sender,receiver,Cc,time,attachments,content.when the *.eml source file begin as follows** Date: Tue, 3 Jul 2012 16:54:36 +0800
From: mayongtao <[email protected]>
To: mayongtao <[email protected]>
Reply-To: mayongtao <[email protected]>
Subject: test
X-Priority: 3
X-GUID: 0D4EFB89-20AE-484D-8B2A-5D871F0FCFB4
X-Has-Attach: no
X-Mailer: Foxmail 7.0.1.88[cn]
Mime-Version: 1.0
Message-ID: <[email protected]>
Content-Type: multipart/alternative;
boundary="----=_001_NextPart515342364081_=----"This is a multi-part message in MIME format.
...
It works well,I can get information what I want.
but if the *.eml source file begin as follows
I want to get information about mail subject,sender,receiver,Cc,time,attachments,content.when the *.eml source file begin as follows** Date: Tue, 3 Jul 2012 16:54:36 +0800
From: mayongtao <[email protected]>
To: mayongtao <[email protected]>
Reply-To: mayongtao <[email protected]>
Subject: test
X-Priority: 3
X-GUID: 0D4EFB89-20AE-484D-8B2A-5D871F0FCFB4
X-Has-Attach: no
X-Mailer: Foxmail 7.0.1.88[cn]
Mime-Version: 1.0
Message-ID: <[email protected]>
Content-Type: multipart/alternative;
boundary="----=_001_NextPart515342364081_=----"This is a multi-part message in MIME format.
...
It works well,I can get information what I want.
but if the *.eml source file begin as follows
解决方案 »
- php开源门户及论坛,欢迎大家关顾!
- 出现这样的提示该如何解决?failed to open stream: No such file or directory in D:\PHPnow\htdoc
- php的include 和其它语言的INCLUDE区别
- 弱弱的问句:网站所有的图片路劲都存放在一个图片表里面,好不好?
- zend studio 主题
- 大文件(1G以上)下载 断点续传工具
- IIS下 PHP5.2.7 不支持zip扩展??
- cakePHP model层校验时,页面显示问题
- 这是怎么回事??
- 求一个积分商城的php代码
- Ucenter整合第三方程序,无法同步登陆
- 不想php文件被单独浏览怎么办
然后在浏览器中以html方式显示eml文件的信息 包括发件人,收件人,时间,抄送,邮件正文,附件信息?可以吗?