How is the message header generated?

Source: Internet
Author: User

Often people ask how the message header is generated? Why do I have to have headers in each email? We first need to understand the transmission of the message. The transmission of the message is actually sent by the sender and received by the receiving party. The smallest unit is the mailbox. While the user mail is sent from the terminal to its mailbox in the server process, we think it is within the scope of their personal mailbox, not counting the transmission of the mail, only synchronization. Mail submissions are cross-mailbox, and sometimes even cross-server, across-the-organization. This requires the sender and receiver to follow the same rules so that the receiver can read the intent of the sender. SMTP is a common rule for mail submission. Of course, we now have more requirements for mail, including Universal (Spanish mail sent to the Chinese mailbox, the content will not be garbled), security (mail to be scanned to prevent spam), accuracy (the path of the message transmission to be determined and traceable). Therefore, the message is actually divided into two parts: the message header and the message content. Where the message header is scriptable, and the message content is deeply encrypted. In general, we will record in the message header:

A. When the sender submits the message, the message's format and other information are marked in the message header, so that the receiver can receive it using the same protocol. Versatility.

B. During the mail submission process, each hop (the server that the message flows through to process the message) will receive and forward the message, which needs to be recorded in the message header and in the server log for the administrator to query. Certainty.

C. After the e-mail is scanned by antivirus/anti-spam programs, the scan results are also added to the message header so that the message does not have to be scanned repeatedly. Security.

Therefore, we see that the message header is generated when the sender's server communicates with the server on which the receiver resides. The client's communication with the server on which the message resides is not written to the message header. That's why we don't see the headers of the emails we send.

This article is from the "Clumsy birds have" blog, make sure to keep this source http://tingdongwang.blog.51cto.com/1056852/1837922

How is the message header generated?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.