本文介绍了电子邮件的剖析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

电子邮件的各个部分是什么?

What are the various parts to an email message?

我正在使用这些第三方组件,到目前为止,我所了解的是:

I'm working with these 3rd party components, and so far from what I understand are:


  1. 电子邮件具有唯一的messageID(我假设每个服务器)

  1. emails have unique messageID's (per server I would presume)

电子邮件具有标头

电子邮件具有正文文本,可以是html或纯文本。

emails have body text that can be either html or plain text.

必须使用mime解析附件,每个mime部分可以具有不同的类型,例如:multipart / applicatoin / octet-stream和文件名。

attachments have to be parsed using mime, and each mime part can have different types like: multipart/ applicatoin/octet-stream and filenames.

旁边的问题,这些第三方组件必须遵循的文档到底在哪里?

side question, where exactly is the documentation that these 3rd party components have to adhere to?

推荐答案

我认为是时候阅读一些RFC了。 ;)

I think its time to read some RFCs. ;)

RFC2822-Internet邮件格式

RFC2822 - Internet Message Format
http://www.faqs.org/rfcs/rfc2822.html

RFC2045-多用途Internet邮件扩展(MIME)部分一个

RFC2045 - Multipurpose Internet Mail Extensions (MIME) Part One
http://www.faqs.org/rfcs/rfc2045.html

RFC2046-多用途Internet邮件扩展(MIME)第二部分

RFC2046 - Multipurpose Internet Mail Extensions (MIME) Part Two
http://www.faqs.org/rfcs/rfc2046.html

RFC 2049 -多用途Internet邮件扩展(MIME)第五部分:符合性标准和示例

RFC 2049 - Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples
http://www.faqs.org/rfcs/rfc2049.html

RFC2821-简单邮件传输协议

RFC2821 - Simple Mail Transfer Protocol
http://www.faqs.org/rfcs/rfc2821.html

这篇关于电子邮件的剖析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 21:44