邮件数据格式

由于要拆分原始数据显示出来所以了解了一下

Received: from unknown (HELO localhost)([122.97.176.1])
	by sina.cn with ESMTP
	6 Jul 2016 15:23:58 +0800 (CST)//本地主机号,协议格式,时间
Date: Wed, 06 Jul 2016 15:23:52 +0800//时间
From: <[email protected]>//发送方
To: //接收方
Subject: =?UTF-8?B?5oKo5aW9ISDmgqjmnInkuIDmnaHpgq7ku7Ys6K+35p+l55yLISA=?=//主题这里要注意下前面两个问号之间是内容格,中间两个问号之间是加密方式这是base64,后面两个问号之间是内容
Importance: Low//重要性
X-Priority: 5
X-MSMail-Priority: Low
MIME-Version: 1.0//MIME邮件格式的版本,这种格式的产生是因为为了传输HTML、图像、声音等非消息格式                             //multipart/mixed它表明这封Email邮件中包含各种格式的MIME实体但没有具体给出每个实体的类型,这个部分有个文章介绍的可以,不多说了下面给出地址
Content-Type: multipart/mixed; boundary="=PART=SEPARATOR=_1543_8555_2473_6379_2136_6691_="
X-CM-TRANSID:WsCowEBJCEcQsnxXyJ_wFA--.7689S2
Message-Id:<[email protected]>
Authentication-Results: mx40; spf=pass [email protected];
X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73
	VFW2AGmfu7jjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUqM5lDUUUU

//这里是附件部分                                                                                                  
This is a multipart message in MIME format.

--=PART=SEPARATOR=_1543_8555_2473_6379_2136_6691_=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline//inline 表示内嵌一个显示文件  
2016年7月6日 下午3:23:43
--=PART=SEPARATOR=_1543_8555_2473_6379_2136_6691_=
Content-Type: image/jpeg; Name="20160706152343.jpg"
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABQODxIPDRQSEBIXFRQYHjIhHhwcHj0sLiQySUBM
S0dARkVQWnNiUFVtVkVGZIhlbXd7gYKBTmCNl4x9lnN+gXz/2wBDARUXFx4aHjshITt8U0ZT
fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHz/wAAR
CASwBkADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkK//图片

地址:帅气的链接




你可能感兴趣的:(Others)