开发者

Problem in fetching Email body content in HTML format using PHP

开发者 https://www.devze.com 2023-01-09 05:22 出处:网络
My code开发者_C百科(In PHP) is fetching Email, from Inbox wihich is in HTML format, and saving it in an HTML format. while fetching some Extra characters are added to the file.

My code开发者_C百科(In PHP) is fetching Email, from Inbox wihich is in HTML format, and saving it in an HTML format. while fetching some Extra characters are added to the file. Example: the content in EMAIL Body

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". How to get rid of this?


I think, your mail body is in base64 format. Try to use this function: base64_decode

0

精彩评论

暂无评论...
验证码 换一张
取 消