20080420

测试雷鸟支持OE不支持HTML格式化的问题

遵循的都是MIME 1.0标准
依标准,
Content-Type包括text/plain,text/html,multipart/mixed, multipart/alternative,,
Content-Transfer-Encoding包括7bit,8bit,base64,quoted-printable,binary

无法解析的原因分析:
什么原因咧???OE的东西很罗嗦,雷鸟很简洁。
OE没有公开文档,Google开发人员无法参考应该是问题关键。
有解?无解??
OE不支持
multipart/alternative
<head>中带<meta>有可能是不被解析的原因
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Content-Type: multipart/alternative;
    boundary="----=_NextPart_000_0005_01C8A2E7.97199380"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C8A2E7.97199380
Content-Type: text/plain;
    charset="utf-8"
Content-Transfer-Encoding: 7bit

OE
------=_NextPart_000_0005_01C8A2E7.97199380
Content-Type: text/html;
    charset="utf-8"
Content-Transfer-Encoding: quoted-printable  <!这可能是不被支持的关键??>

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<META content=3D"MSHTML 6.00.6000.16640" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>

<BODY bgColor=3D#ffffff>                                       <! 加3D是什么意思??>
<DIV><FONT face=3DVerdana color=3D#ff0000>OE</FONT></DIV></BODY></HTML> <! 加<div>有什么必要?>

------=_NextPart_000_0005_01C8A2E7.97199380--
雷鸟支持
这份是最简单的HTML编码MIME
text/html
MIME-Version: 1.0
Content-Type: text/html; charset=GB2312
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font color="#ff0000">À×Äñ</font>
</body>
</html>
雷鸟带附件也支持
multipart/mixed
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------020205060606080705000003"

This is a multi-part message in MIME format.
--------------020205060606080705000003
Content-Type: text/html; charset=GB2312
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font color="#ff0000">Õ³Ìû¸½¼þÇÒ¸ñʽ»¯</font>
</body>
</html>

--------------020205060606080705000003
Content-Type: application/pdf;
 name="=?GB2312?B?MjAwOOuKoHSzp7e9sLgxLnBkZg==?="
Content-Transfer-Encoding: base64  <! 附件传输采用base64也支持>
Content-Disposition: inline;
 filename*0*=GB2312''%32%30%30%38%EB%8A%A0%74%B3%A7%B7%BD%B0%B8%31%2E%70%64;
 filename*1*=%66

JVBERi0xLjIgDSXi48/TDQogDTYgMCBvYmoNPDwNL0xlbmd0aCA3IDAgUg0vRmlsdGVyIC9G
bGF0ZURlY29kZSANPj4Nc3RyZWFtDQpIiYRXW64kuw1bweyhV9CwJD9XECCf924iCM58Z/sp
v0l1Dy4GONMyJZlVpll2eJf0+t/rl7z+3f/89/UrvPq/v/71+hWtvdMrZn39fgJtPbVHPz0q <!余,二进制文件文本转码,略>
OE传输编码改为base64也不被支持
MIME-Version: 1.0
Content-Type: multipart/alternative;
    boundary="----=_NextPart_000_0004_01C8A2F2.8166EA50"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
Disposition-Notification-To: "A. J. Young" <aj_yo...@yahoo.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

This is a multi-part message in MIME format.

------=_NextPart_000_0004_01C8A2F2.8166EA50
Content-Type: text/plain;
    charset="utf-8"
Content-Transfer-Encoding: base64

T0Xlj5HpgIHvvIxDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nIOmHh+eUqCBiYXNlNjQ=

------=_NextPart_000_0004_01C8A2F2.8166EA50
Content-Type: text/html;
    charset="utf-8"
Content-Transfer-Encoding: base64

77u/PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9u
YWwvL0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29u
dGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxNRVRBIGNvbnRlbnQ9Ik1TSFRNTCA2
LjAwLjYwMDAuMTY2NDAiIG5hbWU9R0VORVJBVE9SPg0KPFNUWUxFPjwvU1RZTEU+DQo8L0hFQUQ+
DQo8Qk9EWSBiZ0NvbG9yPSNmZmZmZmY+DQo8RElWPjxGT05UIGZhY2U9VmVyZGFuYSBjb2xvcj0j
ZmYwMDAwPk9F5Y+R6YCB77yMQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZyDph4fnlKggDQpiYXNl
NjQ8L0ZPTlQ+PC9ESVY+PC9CT0RZPjwvSFRNTD4NCg==

------=_NextPart_000_0004_01C8A2F2.8166EA50--