有内容配置时如何提取邮件正文?
标题1
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [x.x.x.x]
Content-Type: application/pkcs7-mime; smime-type=signed-data;
name="smime.p7m"
Content-Disposition: attachment; filename="smime.p7m"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
标头2:
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [x.x.x.x]
Content-Type: multipart/alternative;
boundary="_000_A61C9CD725DF1C4FA94C13EC538A38BEEaz18ex3004_"
MIME-Version: 1.0
当我签署邮件并发送时,邮件的标题格式为“header1”,当我发送邮件而不签名时,邮件的标题格式为“header2”..
我目前正在使用" getMessageBody()" method
从mimemailparser.class.php
文件中提取消息的正文..
在签名邮件上,我无法检索邮件正文,它在使用时返回空正文"getmessagebody()" method
,但在未签名邮件上,它能够检索邮件正文..
在检查已签名和未签名的邮件标题时,有区别,如何在已签名邮件(header1)上提取邮件正文?