开发者

PHP: imap_savebody() breaks long lines

I attempt to parse an email message whose body is in csv format.

The email supposedly has this content:

,111111111111111,Abcde Abcd,,abcde@abcdefghi.com.au,61352722827,13/04/2012,14/04/2011,Abcd Abcdefghi,
,111111111111111,Abcde Abcd,,abcde@abcdefghi.com.au,61352722827,13/04/2012,14/04/2011,Abcd Abcdefghi,

But imap_savebody() saves it like this:

,11111111111开发者_StackOverflow1111,Abcde
Abcd,,abcde@abcdefghi.com.au,61352722827,13/04/2012,14/04/2011,Abcd
Abcdefghi,
,111111111111111,Abcde
Abcd,,abcde@abcdefghi.com.au,61352722827,13/04/2012,14/04/2011,Abcd
Abcdefghi,

The encoding is 7BIT as outputted by imap_fetchstructure. Anyone knows why this happens?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜