多多色-多人伦交性欧美在线观看-多人伦精品一区二区三区视频-多色视频-免费黄色视屏网站-免费黄色在线

國內最全IT社區(qū)平臺 聯(lián)系我們 | 收藏本站
阿里云優(yōu)惠2
您當前位置:首頁 > php開源 > php教程 > Email Header 是什么

Email Header 是什么

來源:程序員人生   發(fā)布時間:2016-07-27 08:22:39 閱讀次數(shù):10518次

 Email Header 是甚么-What is an Email Header


每天都收郵件,你是不是注意到1個名詞:Email Header。那這個東西究竟是甚么,對我們有甚么意義呢。

What is an Email Header

 請參考鏈接地址:http://whatismyipaddress.com/email-header ,我也在博文底部copy了1份。

 這些郵件頭信息就是郵件發(fā)送的路由信息,包括的東西很多。

以1封郵件為例:qq網(wǎng)頁版郵箱



對不起,我捏造了發(fā)件人信息,真實發(fā)件人不存在。


看到紅箭頭了嗎。點擊顯示內容:

Date: Wed, 15 Jun 2016 15:50:19 +0800 Received: from doctorwho.com (unknown [112.65.213.146]) by bizmx4.qq.com (NewMx) with SMTP id for <馬賽克@xxxx.com>; Wed, 15 Jun 2016 15:50:16 +0800 X-QQ-FEAT: CPrNurj9YMupgzKjZBDyZRr8oO9wB/VI X-QQ-MAILINFO: M83BK/WTqZ+mQVz6Mi/cQqlvFqCfXzNNf0/F5rfxMSpdQklmOnaNM6MC8 ET6g7R2ee8xPS6budPKSs1oI+zATcrOQEZwWBrnlA== X-QQ-ORGSender: doctorwho@alibaba-inc.com From: =?UTF⑻?B?56We56eY5Y2a5aOr?= Sender: =?UTF⑻?B?56We56eY5Y2a5aOr?= Reply-To: sdcuike@aol.com To: 馬賽克@xxxx.com Message-ID: <1411892748.1.1465977341518.JavaMail.doctorwho@doctorwho.com> Subject: The late blessing MIME-Version: 1.0 Content-Type: text/html; charset=utf⑻ Content-Transfer-Encoding: quoted-printable X-QQ-Popagent-Recv: JJZ+TBntTqecabDdpBhCfSvrIyGy0fNF1jdNZWYyLW4= X-QQ-mid: popa4t1465980881t608t27651 X-QQ-SSF: 0000000000000000000000000000000=E7=A5=9E=E7=A7=98=E5=8D=9A=E5=A3=AB

=E7=AB=AF=E5=8D= =88=E8=8A=82=E8=BF=9F=E5=88=B0=E7=9A=84=E7=A5=9D=E7=A6=8F


=E7=AB=AF=E5=8D=88=E9=A2=82=E8=AF=89=E7=9D=80=E5=8F=A4=E8=80=81= =E7=9A=84=E4=BC=A0=E8=AF=B4=EF=BC=8C

=E7=B2=BD=E5=AD=90=E5=8C=85=E8=A3=B9=E7=9D=80=E5=8F=A4=E8=80=81= =E7=9A=84=E9=A3=8E=E4=BF=97=EF=BC=8C

=E8=89=BE=E5=8F=B6=E5=87=9D=E8=81=9A=E7=9D=80=E7=A5=9E=E7=A7=98= =E7=9A=84=E8=89=B2=E5=BD=A9=EF=BC=8C

=E5=B1=88=E5=8E=9F=E5=9D=9A=E5=AE=88=E7=9D=80=E6=B0=91=E6=97=8F= =E7=9A=84=E6=B0=94=E8=8A=82=EF=BC=8C

=E8=AE=A9=E6=88=91=E4=BB=AC=E8=AE=B0=E4=BD=8F=E7=89=B9=E6=AE=8A= =E7=9A=84=E6=97=A5=E5=AD=90=EF=BC=8C

=E6=97=B6=E5=88=BB=E6=8F=90=E9=86=92=E5=8B=89=E5=8A=B1=E8=87=AA= =E5=B7=B1=EF=BC=8C

=E5=B9=B8=E7=A6=8F=E7=94=9F=E6=B4=BB=EF=BC=8C

=E5=8A=AA=E5=8A=9B=E5=B7=A5=E4=BD=9C=EF=BC=8C

=E5=BC=80=E5=BF=83=E6=AF=8F=E4=B8=80=E5=A4=A9.

From : doctor who






看的不是很清楚,我們可以用工具格式化看1下:


查看郵件頭信息


  打開http://mxtoolbox.com/EmailHeaders.aspx,把上面郵件頭信息copy到網(wǎng)頁對應位置:



顯示:



具體的信息1目了然。有了這些信息對我們有用嗎。我們可以利用這些信息干甚么呢......




What is an Email Header?

Tweet

An email consists of three vital components: the envelope, the header(s), and the body of the message. The envelope is something that an email user will never see since it is part of the internal process by which an email is routed. The body is the part that we always see as it is the actual content of the message contained in the email. The header(s), the third component of an email, is perhaps a little more difficult to explain, though it is arguably the most interesting part of an email.

Header

In an e-mail, the body (content text) is always preceded by header lines that identify particular routing information of the message, including the sender, recipient, date and subject. Some headers are mandatory, such as the FROM, TO and DATE headers. Others are optional, but very commonly used, such as SUBJECT and CC. Other headers include the sending time stamps and the receiving time stamps of all mail transfer agents that have received and sent the message. In other words, any time a message is transferred from one user to another (i.e. when it is sent or forwarded), the message is date/time stamped by a mail transfer agent (MTA) - a computer program or software agent that facilitates the transfer of email message from one computer to another. This date/time stamp, like FROM, TO, and SUBJECT, becomes one of the many headers that precede the body of an email.

To really understand what an email header is, you must see one. Here is an example of a full email header*:

Return-Path: X-SpamCatcher-Score: 1 [X] Received: from [136.167.40.119] (HELO dc.edu) by fe3.dc.edu (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 61258719 for example_to@mail.dc.edu; Mon, 23 Aug 2004 11:40:10 -0400 Message-ID: <4129F3CA.2020509@dc.edu> Date: Mon, 23 Aug 2005 11:40:36 -0400 From: Taylor Evans User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jon Smith Subject: Business Development Meeting Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit

* email headers should always be read from bottom to top.

Fortunately, most of this information is hidden inside the email with only the most relevant or mandatory headers appearing to the user. Those headers that we most often see and recognize are bolded in the above example.

Header Characteristics

A single email header has some important characteristics, including perhaps the most important part of an email - this is the KEY:VALUE pairs contained in the header. Looking at the above, you can tell some of the KEY:VALUE pairs used. Here is a breakdown of the most commonly used and viewed headers, and their values:

  • From: sender's name and email address (IP address here also, but hidden)
  • To: recipient's name and email address
  • Date: sent date/time of the email
  • Subject: whatever text the sender entered in the Subject heading before sending

Headers Provide Routing Information

Besides the most common identifications (from, to, date, subject), email headers also provide information on the route an email takes as it is transferred from one computer to another. As mentioned earlier, mail transfer agents (MTA) facilitate email transfers. When an email is sent from one computer to another it travels through a MTA. Each time an email is sent or forwarded by the MTA, it is stamped with a date, time and recipient. This is why some emails, if they have had several destinations, may have several RECEIVED headers: there have been multiple recipients since the origination of the email. In a way it is much like the same way the post office would route a letter: every time the letter passes through a post office on its route, or if it is forwarded on, it will receive a stamp. In this case the stamp is an email header.

When viewed in their entirety, these multiple recipient headers will look like this in an email:

Received: from tom.bath.dc.uk ([138.38.32.21] ident=yalrla9a1j69szla2ydr) by steve.wrath.dc.uk with esmtp (Exim 3.36 #2)id 19OjC3-00064B-00 for example_to@imaps.bath.dc.uk; Sat, 07 Jun 2005 20:17:35 +0100 Received: from write.example.com ([205.206.231.26]) by tom.wrath.dc.uk with esmtp id 19OjBy-0001lb⑶V for example_to@bath.ac.uk; Sat, 07 Jun 2005 20:17:30 +0100 Received: from master.example.com (lists.example.com [205.206.231.19]) by write.example.com (Postfix) with QMQP id F11418F2C1; Sat, 7 Jun 2005 12:34:34 -0600 (MDT)

In the example shown above, there are three Received: stamps. Reading from the bottom upwards, you can see who sent the message first, next and last, and you can see when it was done. This is because every MTA that processed the email message added a Received: line to the email's header. These Received: lines provide information on where the message originated and what stops it made (what computers) before reaching its final destination. As the example shows, these Received: lines provide the email and IP address of each sender and recipient. They also provide the date and time of each transfer. The lines also indicate if the email address was part of an email list. It is all this information that is valued by computer programmers and IT department associates when making efforts to track and stop SPAM email message. And it is this information that arguable makes headers the most important part of an email.

Related Articles

  • Trace email
  • Find email headers
  • Email tracing discussion
  • Email basics

生活不易,碼農(nóng)辛苦
如果您覺得本網(wǎng)站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 国产成人精品福利网站人 | 国产高清在线精品一区二区三区 | 日产日韩亚洲欧美综合搜索 | 69视频在线观看高清免费 | 午夜dj免费视频观看在线播放 | 毛片资源站| 国产精品美乳免费看 | 性欧美f| 免费看逼逼 | 性xxxxⅹhd成人 | 亚洲精品第一第二区 | 麻豆国产免费看片在线播放 | 樱花aⅴ一区二区三区四区 影视精品网站入口 | 国产大片免费天天看 | 久久人人澡人人爽人人爱 | 邪恶亚洲| 女bbbbxxxx毛片视频丶 | 亚洲色图色 | 国产精品久久一区 | 成人在线视频国产 | 欧美日韩亚洲天堂 | 亚洲精品第四页中文字幕 | 亚洲一区二区三区四 | 亚洲视频一区二区 | 波多野结衣久久精品 | 日本xxxxx黄区免费看动漫 | 中文字幕亚洲精品日韩精品 | 一级做性色a爰片久久毛片 一级做性色a爰片久久毛片免费 | 亚洲人成网站在线观看播放青青 | jizz中国18| 羞羞人成午夜爽爽影院 | 精品毛片 | 亚洲激情欧美激情 | 日本欧美在线播放 | 欧美激情_区二区三区 | 18女人水真多免费高清毛片 | 欧美成人精品一区二区 | 性欧美videos喷水 | 亚洲精品国产第一区二区图片 | 一区二区三区四区 | 最近新中文字幕大全高清视频 |