我想要一份修改該EML文件與PHP的頭信息:刪除或修改頁眉信息文件
我想刪除行消息的ID,我想更改郵件不會忽略行到。例如,刪除所有3個郵件地址,並用另一個替換它...
有人能幫助我嗎?
Received: from server.local (7.6.19.14) by mail.local
(192.168.0.1) with Microsoft SMTP Server id 8.3.298.1; Fri, 19 Jul 2013
08:38:42 +0200
Received: by server.local (Postfix, from userid 1) id 62C961608B7; Fri, 19
Jul 2013 08:38:42 +0200 (CEST)
From: "[email protected]" <[email protected]>
To: Recipient <[email protected]>, Recipient <[email protected]>,
Recipient <[email protected]>
Date: Fri, 19 Jul 2013 08:38:42 +0200
Subject: EG...
Thread-Topic: EG...
Thread-Index: Ac6ESpw8LCpOq4iNTOa02MkB6MTlsQ==
Message-ID: <[email protected]>
Accept-Language: en-US
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Organization-AuthSource: mail.local
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
Content-Type: multipart/mixed;
boundary="_002_2013074498405156741_"
MIME-Version: 1.0
感謝您向我們展示電子郵件標題的樣子......您能向我們展示您爲完成目標所做的工作嗎? – Orangepill
[file_get_contents](http://php.net/manual/de/function.file-get-contents.php)和[preg_replce](http://php.net/manual/de/function.preg-replace。 PHP)應該這樣做。請檢查它的手冊,並在需要時在[regexp](http://www.phpf1.com/tutorial/php-regular-expression.html)中查找一些教程 –