PHP:imap_savebody()打破长行

时间:2011-05-16 05:34:38

标签: php email imap

我尝试解析其正文为csv格式的电子邮件。

电子邮件据说有这样的内容:

,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,

但是imap_savebody()会像这样保存它:

,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,

由imap_fetchstructure输出的编码是7BIT。谁知道为什么会这样?

0 个答案:

没有答案