How to remove X-CMAE-Envelope from php mail

纵然是瞬间 提交于 2021-02-10 23:29:34

问题


xample@gmail.com

X-CMAE-Envelope: MS4wfP8FXd8/R+a/LSU6TL5fZ2U9j6XNOlqH2ChNeZRC9M65GyLWs79yxh/WSVP1mWgmTrSR1jubA85EorlFhPmvIANJv+g8Dvba+4+i5Epzjt6Q3cuOetV2
yQT63E6PAR3l9SpC0BsxP9MXrvBLXdYDMIrGANJWNZNOR8b5focPdjP4

[Mail Message]

Whenever I send a mail using PHP, X-CMAE-Envelope is automatically adding in mail body. How can I remove it?


回答1:


CMAE stands for Cloudmark Authority Engine and is an e-mail security product (anti-spam). This and others headers are added by this software at a server level. You should check it with your sysadmin.

https://www.cloudmark.com/en/knowledgebase/cloudmark-authority-for-spamassassin/Order-of-startup-for--CMAE-spamd-and-the-MTA




回答2:


It has been a while ago since this was asked, but if someone else gets the same problem:

I noticed that the envelope message disappears when you start the message body with an extra empty line.

\r\n\r\n Marks the end of the headers and start of the message body.



来源:https://stackoverflow.com/questions/35624537/how-to-remove-x-cmae-envelope-from-php-mail

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!