登录 用户中心() [退出] 后台管理 注册
 

热门搜索:
您的位置: 首页 首页 >> NEWBT免费邮箱 >> NEWBT免费邮箱 >> 主题: 开发日志4:老 foxmail 的邮件格式兼容    [最新]
标题 开发日志4:老 foxmail 的邮件格式兼容
clq
浏览(0) - 2017-12-01 23:40:12 发表 编辑

关键字:

开发日志4:老 foxmail 的邮件格式兼容

发现原有的 golang mime 模块解码不了 Foxmail 4.2 的邮件正文,但附件倒是出来了.
原来是 Foxmail 4.2  将邮件正文直接写在了消息体中,这样 multipart 的子循环就找不到它了. 示例如下:

--------------------------------------------------

From: "clq" <clq@newbt.net>
To: ccc@newbt.net <ccc@newbt.net>
Subject: tttttttttt
X-mailer: Foxmail 4.2 [cn]
Mime-Version: 1.0
Content-Type: multipart/mixed;
      boundary="=====000_Dragon060414147225_====="
Date: Fri, 10 Nov 2017 10:42:28 +0800

This is a multi-part message in MIME format.

--=====000_Dragon060414147225_=====
Content-Type: text/plain;
      charset="GB2312"
Content-Transfer-Encoding: quoted-printable

ccc=A3=AC=C4=FA=BA=C3=A3=A1

=09

=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=D6=C2
=C0=F1=A3=A1
 =09=09=09=09

=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1clq
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1clq@newbt.net
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12017-11-10



总数:0 页次:1/0 首页 尾页  
总数:0 页次:1/0 首页 尾页  



发表评论:
文本/html模式切换 插入图片 文本/html模式切换


附件:



NEWBT官方QQ群1: 276678893
可求档连环画,漫画;询问文本处理大师等软件使用技巧;求档softhub软件下载及使用技巧.
但不可"开车",严禁国家敏感话题,不可求档涉及版权的文档软件.
验证问题说明申请入群原因即可.

Copyright © 2005-2017, All Rights Reserved CLQ工作室 版权所有