邮件服务器-邮件系统-邮件技术论坛(BBS)

标题: 关于邮件传输编码的一些疑问 [打印本页]

作者: netforce    时间: 2010-11-9 10:10
标题: 关于邮件传输编码的一些疑问
邮件的传输编码即Content-Transfer-Encoding字段包括:
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: base64
Content-Transfer-Encoding: binary
Content-Transfer-Encoding: quoted-printable
其中:
'7bit', '8bit', and 'binary' mean that no binary-to-text encoding on top of the original encoding was used.
base64,quoted-printable – used to encode arbitrary octet sequences into a form that satisfies the rules of 7bit.

现在我要捕获网络上的邮件数据包,还原出原始数据,我是这样认为的:对于base64,quoted-printable我需要相应的解码函数才能还原出原始数据,对于其他三种是不是不需要任何处理,直接就是原始数据呢,其中binary在什么情况下才会采用这种编码呢?对此我有些疑问,请大家帮我解答一下,谢谢!
作者: netforce    时间: 2010-11-9 20:45
悲剧了,没人指点指点啊
作者: jsf    时间: 2011-12-1 14:42
果然是十足的悲剧




欢迎光临 邮件服务器-邮件系统-邮件技术论坛(BBS) (http://bbs.5dmail.cn/) Powered by Discuz! X3.2