开发者

PHP MailParse to Read and Process Incoming Emails

开发者 https://www.devze.com 2023-02-03 17:56 出处:网络
I am currently able to read incoming emails by using the PHP MailParse Extension, what I am having problems with is the formatting of the emails. The body of the email message is wrapped 76 characters

I am currently able to read incoming emails by using the PHP MailParse Extension, what I am having problems with is the formatting of the emails. The body of the email message is wrapped 76 characters and adds extra spacing.

I like to know if there is setting with PHP 开发者_运维百科to eliminate this or do I have to write separate script to clean this up?


All email clients wrap body lines at a maximum of 80 lines as it it required in the specs. There is nothing you can do against it except try to detect if the part of the text is a paragraph and join the lines again. Most mail clients do this and fail sometimes.

0

精彩评论

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