V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
sohoer
V2EX  ›  问与答

有点点的人?发现点点通过邮件发布文章的BUG

  •  
  •   sohoer · 2012-11-23 00:19:34 +08:00 · 3002 次点击
    这是一个创建于 4234 天前的主题,其中的信息可能已经有所发展或是发生改变。
    BUG效果:
    http://read1h.diandian.com/
    我的发过来的正文怎么是双份的,第一份是有格式的(正确的),第二份没有格式(这一份是点点自动加的)

    后面看邮件原文,再查到这个
    MIME Content-type
    参考链接 http://www.berlinix.com/MIME.html
    Multipart/alternative
    可选的。如同时提供文本/HTML格式的消息

    这是GAE发送的邮件原文部份
    .....
    Date: Thu, 22 Nov 2012 16:04:24 +0000
    Subject: =?GB2312?B?UW1haWzUxLbBLQ==?=
    From: "[email protected] Admin" <[email protected]>;
    To: "[email protected]" <[email protected]>;
    Content-Type: multipart/alternative; boundary=047d7b86c52eee8cf504cf179e1f

    --047d7b86c52eee8cf504cf179e1f
    Content-Type: text/plain; charset=GB2312; format=flowed; delsp=yes
    Content-Transfer-Encoding: base64

    UW1haWzUxLbBLQ0K
    --047d7b86c52eee8cf504cf179e1f
    Content-Type: text/html; charset=GB2312
    Content-Transfer-Encoding: base64

    UW1haWzUxLbBLTxiciAvPg==
    --047d7b86c52eee8cf504cf179e1f--
    1 条回复    1970-01-01 08:00:00 +08:00
    sohoer
        1
    sohoer  
    OP
       2012-11-23 09:01:10 +08:00
    早上顶起来
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2871 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 12:51 · PVG 20:51 · LAX 05:51 · JFK 08:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.