Flux rss

Structure of an email (Headers and bodies)

Structure of an email

An email has three basic parts:

  • The header, a set of lines containing information about the message's transportation, such as the sender's address, the recipient's address, or timestamps showing when the message was sent by intermediary servers to the transport agents (MTAs), which act as a mail sorting office. The header begins with a From line and is changed each time it passes through an intermediary server. Using headers, you can see the exact path taken by the email, and how long it took each server to process.
  • The message proper, made up of the two following elements:
    • the header fields, a set of lines describing the message's settings, such as the sender, the recipient, the date, etc. Each one has the following form:
      Name: Value
      An email includes at least the three following headers:
      • From: The sender's email address
      • To: The recipient's email address
      • Date: The date when the email was sent
      It may contain the following optional fields:
      • Received: Various information about the intermediary servers and the date when the message was processed.
      • Reply-To: A reply address.
      • Subject: The message's subject
      • Message-ID: A unique identification for the message.
    • the message body, containing the message, separated from the header by a line break.

An email is made up of lines of displayable 7-bit US-ASCII characters. Each line has at most 76 characters, for compatibility reasons, and ends with the characters CRLF (\r\n).

Concept of a header

It is important to note that header data is no guarantee of when the message was sent or who sent it.

Additional personalised headers (called X-headers) can be set in order to provide the appropriate information. X-headers are so called because their name must begin with X-.

Some anti-spam software programs mark messages as unwanted using the following header:

X-Spam-Status: Yes


Last update on Thursday October 16, 2008 02:43:17 PM.
This document entitled « Structure of an email (Headers and bodies) » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Results for

Message body does not display Hello, Running Windows XP, SP2 and Office 2003, all updates. When a message is read, only the header inofrmation can be seen, not the message body. The header opens up in a separate window. I have tried repairing and reloading Office 2003, it complete... en.kioskea.net/forum/affich-22728-message-body-does-not-display
HTML - Structure tags Tags can be divided into two groups: Those which change the structure of the page, and those which change the text style. Structure tags include header tags, paragraph tags, list tags, and more. The following attributes are placed within structure... en.kioskea.net/html/htmlstruct.php3
Email - Structure of an email Email, as simple as it is to use, relies on a more complicated set of operating procedures than that of the Web. For most users, its operation is transparent, which means that it is not necessary to understand how email works in order to be able to... en.kioskea.net/courrier-electronique/en-tetes.php3

Results for

Scam Business EmailsScam Business Emails How to identify scam business emails You might have received an email coming from a company, either asking you to send them money and have a contract in return or to send your personal information for a job... en.kioskea.net/faq/sujet-273-scam-business-emails
Obtaining a disposable email addresseKasmail Spambox Jetable mail Enterto spamless email Obtaining a disposable email addresse A disposable email is an e-mail service enabling you to send and receive mail for a short period. This practice is very efficient as it prevent you... en.kioskea.net/faq/sujet-289-obtaining-a-disposable-email-addresse
How to hack an MSN accountHow to hack an MSN account Several websites now propose simple solutions to hack another messenger account for free. Some state that if you provide them with the email of the victim together with your email and password, your victim’s... en.kioskea.net/faq/sujet-154-how-to-hack-an-msn-account

Results for

Cannot send HTML email in OutlookHello, Hello, I am trying to send some HTML emails using Outlook 2003. I want people to be able to receive a professional email from my business as an HTML webpage instead of a link, or plain text. I have created my webpage which I then uploaded to my... en.kioskea.net/forum/affich-6056-cannot-send-html-email-in-outlook
Header and footer in HTMLHello, Is it possible to include a header and footer file using HTML? I have my file (saved as a .html) and need to be able to include the HTML for the header and footer. Anyone know how I can do this? Thanks a lot. en.kioskea.net/forum/affich-196-header-and-footer-in-html
Outlook 2007 deletes inbox emails (Solved)Hello, I have Outlook 2007 configured with 2 email accounts (one POP and one IMAP). I have no problems with either account except for this one. Outlook randomly deletes emails from my POP account's Inbox. Occasionally, if I catch it in time,... en.kioskea.net/forum/affich-8111-outlook-2007-deletes-inbox-emails

Results for

Download ThunderbirdThunderbird is a fully featured, secure and very functional email client which integrates spam filter. en.kioskea.net/telecharger/telecharger-39-thunderbird
Download Primitive Disk IndexerTo stock and/or to safeguard data on his hard disk or of detachable disks is good means to lose nothing. But when they pile up, it is rather difficult to meet there. Primitive Disk Indexer is a program allowing to safeguard the structure of your... en.kioskea.net/telecharger/telecharger-626-primitive-disk-indexer

Results for

Yahoo delivers new free email addressesA visitor sits in front of the Yahoo logo at a trade fair in Dusseldorf, Germany. Chinese staff at work in a computer shop in Shanghai in early December. Yahoo has tripled the size of its globally-popular free online email service by adding two new... en.kioskea.net/actualites/yahoo-delivers-new-free-email-addresses-10463-actualite.php3
Marshall Islands email paralysed by 'zombie' attackEmail communication in the Marshall Islands was paralysed after hackers launched a "zombie" computer attack on the western Pacific nation's only Internet service provider, officials said. Email communication in the Marshall Islands was paralysed... en.kioskea.net/actualites/marshall-islands-email-paralysed-by-zombie-attack-10479-actualite.php3
Google ramps up email defense offeringsA visitor walks past the logo of internet search engine giant Google at a trade fair. Google on Tuesday began marketing new online tools for protecting email from spam and other problems as it continued to encroach on the terrain of software king... en.kioskea.net/actualites/google-ramps-up-email-defense-offerings-10063-actualite.php3

Results for

Email - How email works (MTA, MDA, MUA) Email, as simple as it is to use, relies on a more complicated set of operating procedures than that of the Web. For most users, its operation is transparent, which means that it is not necessary to understand how email works in order to be able to... en.kioskea.net/courrier-electronique/fonctionnement-mta-mua.php3
Email - Introduction Electronic mail (also known as email or e-mail) is one of the most commonly used services on the Internet, allowing people to send messages to one or more recipients. Email was invented by Ray Tomlinson in 1972. The operating principle behind... en.kioskea.net/courrier-electronique/email-e-mail.php3
Email - Mailing lists A mailing list is one of the most commonly used services on the Internet, allowing people to send messages to one or more recipients. Email was invented by Ray Tomlinson in 1972. A mailing list is based around software called a mailing list... en.kioskea.net/courrier-electronique/listes-diffusion.php3