duankange2433 2010-11-07 01:00
浏览 195

如何在网页中显示电子邮件的内容?

I'm workin with PHP imap and Gmail. I want to show the content of an email in a webpage. However when I get the check the code, it has -break lines everywhere -"=3D" characters in all the source. Is there a way to get the mail body for a webpage?

Example:

 width: 24px; padding: 0pt;">&#160;</td>               <td style=3D"bord=

er-bottom: 1px solid rgb(202, 192, 182);" colspan=3D"4" class=3D"separat= eur_logo">

  • 写回答

1条回答 默认 最新

  • doushao8399 2010-11-07 01:25
    关注

    These =3D are how equal signs (=) are represented if the mail is encoded in quoted-printable style. You might want to read about quoted-printable in order to understand how you have to pase the mail’s source code.

    Even better though would be to use one of the available e-mail parsing classes for PHP, since the subject is quite complex.

    评论

报告相同问题?

悬赏问题

  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 个人网站被恶意大量访问,怎么办
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制