Every e-mail that finds its way into your inbox is made up of a header and a body. These are both separated by a blank line. The body usually contains what is of interest to you, i.e. the content of the message. Usually you will only see a few com­puls­ory details of the e-mail header such as the sender, the subject, and the date it was sent. There are ad­di­tion­al elements to the header such as extra in­form­a­tion about the sender and the path of the message. These are, however, hidden by the mail ap­plic­a­tion, but can be shown upon request. If you are skeptical about an e-mail’s au­then­ti­city then you should make use of this option and display the complete e-mail header.

Cheap domain names – buy yours now
  • Free website pro­tec­tion with SSL Wildcard included
  • Free private re­gis­tra­tion for greater privacy
  • Free Domain Connect for easy DNS setup

The structure of the e-mail header

The header of an e-mail is roughly divided into two cat­egor­ies: message headers and envelope headers. Message headers are generated directly by the re­spect­ive sender and then sent on their way to the recipient. While en route, the e-mail is expanded by envelope headers, which are created by the mail server during transfer. This extra in­form­a­tion (received lines) is fun­da­ment­al for tracing e-mails. Each line of an e-mail header begins with a keyword (the name), followed by a colon and then the content.

Com­puls­ory details of an e-mail header

From: This is the in­form­a­tion about the sender or writer in the form of an e-mail address. There are also e-mail clients that allow several senders. If the technical sender is not the writer of the e-mail, this will be mentioned in the ad­di­tion­al “sender” line.

Example: From: Sender <sender-address@example.com>

To: In this e-mail header line you'll find the name of the re­cip­i­ents separated by commas. The in­form­a­tion does not have to cor­res­pond with the “envelope-to” in­form­a­tion that is trans­mit­ted by the transfer protocol. It could even be the case that your e-mail address does not even appear in this line.

Example: To: Recipient <recipient-address@example.com>, Recipient 2 <recipient2address@example.com>

Cc: This optional in­form­a­tion contains the address(es) of one or several re­cip­i­ents that are to receive a copy of the e-mail.

Example: Copy-recipient <cc-address@example.com>, Copy-recipient 2 <cc2-address@example.com>

Subject: The subject lets the recipient know what kind of content to expect. The sender should make it clear to the reader what the e-mail is regarding.

Example: Cc: Re: Your ap­point­ments for the coming year

Hidden e-mail header in­form­a­tion

Return-Path: When available, this line is almost always at the beginning and gives the mail server a return option in case delivery is not possible. The delivered e-mail address is identical to the one that the server receives via the “envelope-from” in­form­a­tion.

Example: Return-Path: <return-address@example.com>

Received: Received lines are generated by the mail servers that are involved in the transfer. There are at least two of these lines per e-mail header since one server is used to send and one is used to receive. The lines reveal the e-mail’s trans­mis­sion route including the date and address of the mail server involved (usually inside square brackets)

  • Example: Received: from hostname.example.com (hostname.example.com  [xxxxxxxx])
  • by mailserv­er.recipient.com with SMTP
  • for <recipient@example.com>; Thu, 24 Dec 2015 17:36:20
  • +0200 (EST)  

Message-ID: Every e-mail contains this clear iden­ti­fic­a­tion, mostly from the mail servers or from the sender’s mail programme. The first part of the ID is made up of a character code, and the second part is a domain name, separated by an “@” sign.

Example: Message-ID: <434571BC.8070702@example.com>

Content-Type: In this line of the e-mail header you will find in­form­a­tion about the type and character set of the text body. The in­di­vidu­al para­met­ers are separated by semi­colons.

Example: Content-Type: text/plain; charset=UTF-8</recipient@example.com></return-address@example.com>

The benefit of an e-mail header

You can retrace and check the trans­mis­sion route of your e-mail to see if the alleged sender is the actual sender. This can be achieved with the help of a thorough analysis of the mostly hidden in­form­a­tion in the e-mail header. If you receive an e-mail and question its au­then­ti­city, you should def­in­itely consult the header. The following explains how to display the e-mail header and which tricks spammers employ.

E-Mail header analyser: how it works

Before you can begin to analyse the header, you first need the complete excerpt. Since a standard e-mail programme conceals the relevant content for the transfer, it first needs to be uncovered. Open the re­spect­ive message in Microsoft Outlook followed by the complete address line: “File --> Info --> Prop­er­ties”. In Mozilla Thun­der­bird, activate the in­form­a­tion in the ap­plic­a­tion menu by clicking on “View --> Headers --> All”.

In order to identify the sender, you need to search the full header content for the IP address and the name of the first server that was involved in trans­mit­ting the message. Go through the different received in­form­a­tion from the top (your utilised mail server) until you find the outgoing mail server. This server usually con­sti­tutes the lowest received in­form­a­tion. Further in­form­a­tion found under the header is most likely the result of a fraud attempt and you should therefore assume that you have already found the outgoing mail server. Upon com­plet­ing this step, enter the IP address (which is indicated in the received in­form­a­tion) into a web tool such as Network-Tools.com. You will then receive in­form­a­tion about the server location. The result should match the name of the server that is shown in the iden­ti­fied time zone line.

If you don’t want to search for in­con­sist­en­cies in the received in­form­a­tion of the e-mail header yourself, you can use pro­grammes such as the free eToolz tool. Click on “E-Mail Header Analyzer” and enter the full header excerpt in the “E-mail Header” field to start the search. The ap­plic­a­tion lists all involved mail servers in chro­no­lo­gic­al order. Next to “sent from:” there is the IP address of the first server that you can check manually using Network-Tools.com.

Business Email
Discover a new way to email
  • Write perfect emails with optional AI features
  • Includes domain, spam filter and email for­ward­ing
  • Best of all, it's ad-free

How e-mail headers are spoofed

In most cases spammers have no interest in receiving answers to their e-mails. Normally whoever sends spam wants to stay anonymous. This means that the “from” and “return-path” lines of spam e-mails rarely speak the truth. The actual writers therefore use false iden­tit­ies. In the more recent past lots of e-mail re­cip­i­ents received mails allegedly from PayPal, eBay, or even from the local au­thor­it­ies. Apart from the fact that these e-mails encourage you to open external links, the fake addresses, for the most part, had a few sim­il­ar­it­ies to the original addresses and were quickly exposed as spam through an e-mail header analyser. It is often difficult to identify the actual creators of these spam e-mails due to the fact that such e-mails were sent via a mis­con­figured mail server or an infected computer. These serve as in­ter­me­di­ate stations during dispatch, which allows many spam senders to avoid being iden­ti­fied by the e-mail header.

The received in­form­a­tion is the only element of the e-mail header that cannot be faked. This is because spammers do not have access to the last piece of received in­form­a­tion that normally contains the output IP. This is generated from the recipient’s mail server. Ma­nip­u­lat­ing the lines helps the spammer in so far as to cause confusion and to throw the recipient off track. They achieve this by placing their own server part of the way through instead of at the beginning of the chain.

Go to Main Menu