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