[英]Problem in fetching Email body content in HTML format using PHP
My code(In PHP) is fetching Email, from Inbox wihich is in HTML format, and saving it in an HTML format. 我的代码(在PHP中)是从Inbox获取电子邮件,而Wihich是HTML格式,并将其保存为HTML格式。 while fetching some Extra characters are added to the file. 同时获取一些额外的字符会添加到文件中。 Example: the content in EMAIL Body 示例:EMAIL正文中的内容
hi there
1. hi
2. hello
3. bye
but when fetched i get 但是当我拿到
hi there
1. =A0=A0=A0=A0 hi
2. hello
3. bye
I get extra characters like "=A0=A0=A0=A0". 我得到了多余的字符,例如“ = A0 = A0 = A0 = A0”。 How to get rid of this? 如何摆脱这个?
I think, your mail body is in base64 format. 我认为您的邮件正文为base64格式。 Try to use this function: base64_decode 尝试使用此功能: base64_decode
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.