I read e-mails via php imap, and I can convert the header data to utf8.
But some email body is in ascii / 7bit, and I can't convert it.
No change by iconv($row['encode'],'utf-8' ,$row['text']);
or mb_convert_encoding($row['text'], $row['encode'], "UTF-8");
and imap_utf8($row['text']);
fails.
Do you have any idea to get off the 3D=3D=3D=3D=3D=3D=3D=3D
and others from the mail body?
看一下quoted_printable_decode ,这应该有所帮助。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.