E Mail Headers

written by: Bennie Chard; article published: year 2007, month 09;


In: Categories » Internet » Internet marketing and advertising » E Mail Headers

The process of sending and receiving e-mail involves two types of systems: the mail client (that’s you) and the mail server (similar to the post office).To understand e-mail headers, one must understand that e-mail doesn’t simply go from points A to B and suddenly “You have mail!” In many cases, an e-mail message routes through four computers before it reaches its destination.Technically speaking, the total number of systems involved in the full process of e-mail delivery is about twice that, but it’s transparent and performed efficiently.

For examples in our e-mail demonstrations, we will use an e-mail message that I want to send to my readers.The e-mail addresses we will use are:

me@sendingemail.com 
you@receivingemail.com 

My mail server will be mail.sendingemail.com, the receiver will be mail.receivingemail.com.The sending workstation will be called Sender, and the receiving workstation will be called Receiver. Now let’s look at the internal operations of an area most of you should be familiar with: the client user experience of opening an e-mail client to enter the To, Subject, and Body fields in the new e-mail message.

There is an optional CC field, enabling you to add e-mail addresses to send this message to (a perk you don’t get at the standard post office with a single stamp and envelope).Then I click Send and off my message goes to be received by you@receivingemail.com.

It appears that this comes off without a hitch, but the internal workings are what keep the message going.The mail protocol has headers that mark the emails with information on where it originated, its destination address, and the route it took to get there.Yes, that’s right, e-mail tells a story of its delivery, similar to a tracking number when you ship something via a carrier like Federal Express.The development of the e-mail header’s progress on its way to the destination address are typically marked by three different systems that are handling the mail delivery. I sent mail to you@receivingemail.com and the minute I clicked Send, the message was handed off to my mail server (mail.sendingemail.com). At that point, my mail client sent the mail server the following e-mail headers to process:

From:me@sendingemail.com  (Lance James) To: you@receivinge-mail.com 
Date: Tue, April  04, 2005 23:01:12 PST X-Mailer: Microsoft Outlook, 
Build 10.0.2616 Subject:  This is your subject field 

As you can see, the fields I referred to are actually headers. E-mail is technically constructed of headers with the field: value set. A blank line separates sections within the headers, so the actual body has a blank line with a content type before it, usually plaintext, which is indicated by the following:

Content-Type:  text/plain; charset=ISO-8859-1: format=flowed 

This text is usually found below the headers we displayed previously (different mailers have different header ordering) and indicates the type of content found within the e-mail.The content-type field is determined by the mail client since it knows what it is sending. When we send plaintext, the content-type field is optional, but the majority of mail clients use it to stay within the specifications found in requests for comment (RFCs; see www.imc.org/rfcs.html).

As we continue, our mail client has sent the e-mail to our mail server (mail.sendingemail.com).The mail server will read the header information that our mail client sent it, and will add some additional header information before sending it off to the receiver’s mail server (mail.receivingemail.com). Here is what the headers look like:

Received: from  sender (xx.7.239.24) by mail.sendingemail.com (Postfix) 
id 125A56; Tue, April  04, 2005 23:01:16 -0800 (PST) 
From:  me@sendingemail.com (Lance James) To: you@receivingemail.com 
Date: Tue, April  04, 2005 23:01:12 PST 
Message-ID:  ssc041837262361-293482299@mail.sendingemail.com X-Mailer: Microsoft Outlook,  Build 10.0.2616 Subject: This is your subject field 

There are a few extra additions marked on there, mainly stating from where the message was received (the mail client, when it identified itself to the mail server) and the time it was received, along with a message ID.The message ID has no human-based significance, but from an administrative standpoint, a mail administrator can use it to look up e-mails.The e-mail message ID is similar to a FedEx or UPS Tracking number, and although it’s a completely random number, can be very useful.

Let’s view the final header additions marked on the receiving mail server endpoint:

Received: from  mail.sendingemail.com (mail.sendinge-mail.com [xx.7.239.25]) by  
mail.receivinge-mail.com (Postfix) with ESMTP id T12FG932 for  
<you@receivingemail.com>; Tue, 04 April 2005 23:01:22 -0800 (PST)  
Received: from sender (xx.7.239.24) by mail.sendingemail.com 
(Postfix) id  125A56; Tue, April 04, 2005 23:01:16 -0800 (PST) 
From:  me@sendingemail.com (Lance James) To: you@receivingemail.com 
Date: Tue, April  04, 2005 23:01:12 PST 
Message-ID:  ssc041837262361-293482299@mail.sendingemail.com X-Mailer: Microsoft Outlook,  
Build 10.0.2616 Subject: This is your subject field 

When the receiving client user sits down at the receiver workstation, he will be able to view these e-mail headers within the e-mail (depending on the e-mail client software, he might have to select the appropriate view headers field). When
you receive an e-mail, it can be very important to understand headers so you can trace the historical logs of an e-mail. Let’s look at the last set of headers we received and review each line item added to the Received headers.

Received from:  mail.sendingemail.com (mail.sendingemail.com [xx.7.239.25]) by  mail.receivingemail.com 
(Postfix) with ESMTP id T12FG932 for  you@receivingemail.com; Tue, 04 April 2005 23:01:22 -0800 (PST) 

This first header tells us that this message was received by a server dubbed mail.sendingemail.com.The parentheses show the verification of identity, stating that a DNS reverse lookup revealed that the IP matches this identification and that xx.7.239.25 is the IP address the message came in from.The mail server that received the e-mail is mail.receivingemail.com, which is running Postfix ESMTP with an arbitrary id of T12FG932.The ID is arbitrary and constructed by the receiving mail server for administrative purposes.The e-mail address this message is intended for is you@receivingemail.com, with a receive date of Tuesday, April 4,2005, at 11:01 P.M. and 22 seconds, Pacific Standard Time.
This entry header:

Received: from  sender (xx.7.239.24) by mail.sendingemail.com (Postfix) id 125A56; Tue, April  04, 2005 23:01:16 -0800 (PST) 

documents the mail transfer between the Sender workstation and the sender’s mail server. It is identified by the IP address in parentheses, and we know that mail.sendingemail.com is a Postfix server and has labeled this message with an arbitrary message ID.The date of mail transfer was Tuesday, April 4, 2005, at 11:01 P.M. and 16 seconds, Pacific Standard Time.

The headers derived in this e-mail are legitimate headers. Anytime a system assists in routing an e-mail, an extra Received header will be added on. Notice that the order of Received headers is destination endpoint first, and the bottom header is the starting point.

legal disclaimer

1) Our website is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringements, please read the Terms of service and contact us to investigate the problem.
2) The E-articles directory team is not responsible for inaccuracies, falsehoods, or any other types of misinformation this tutorial may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. Please read the Terms of service

Useful tools and features

Translate this article to...    Send this article to you or to a friend

Link to this article from your page   
If you like this article (tutorial), please link to it from your web page using the information above. Linking to this page, this is the only way to help us improve our service, the same time providing your visitors with a way to improve their online experience.

related articles

1. Why Is Content Management Needed
It would be surprising if anyone involved in maintaining and evolving a successful commercial Web site did not recognize some of the following basic trends: The amount of information and functionality on the site is expanding rapidly. There are requirements for expanding the site to encompass new areas such as business-to-business relationships, multilingual sites, and integration with suppliers and partners. The content on the site needs to be more up to date and the process for updating sit...

2. What Web Content Management Cannot Achieve
Content management is a great way of improving efficiencies by shifting as much mundane processing work as possible to the dumb computer, which will work all night like a slave for no money. Unfortunately, the system is only as good as those who configure it: It can only do what it is told. So it is worth noting a few of the things that a CMS cannot do for you: It does not automatically organize your content for you. It certainly gives you the tools to help you structure and organize your content and will then happily...

3. Identifying Purchase Perceptions that Affect Consumers` Internet Buying
Perceptions believed to influence consumers’ purchase decisions are extensively researched and documented in the context of traditional consumer behavior literature. Jarvenpaa and Todd (1996-97) cluster e-commerce purchase perceptions into four general categories: 1) Product Perception 2) Shopping Experience 3) Customer Service 4) Consumer Risk. Each of these four general factors contain multiple items which, taken together, form the basis for exploring how each of the four purchase ...

4. The 4 Essentials Steps To Make Money From My Website
You already know what these four things are but the main issue is that they are all mixed in with a plethora of other issues and concepts. What I’ve done by drawing attention to these four key elements is to help you focus your mind on the most important attributes your website must have if it is going to work and make money for you. The 4 attributes are: 1  Integrated With Your Business 2  Visual Design 3  Technical Construction 4  Magnetic (h...

5. What are Google Reader and RSS Feeds
RSS is a way of delivering information to your PC without you having to go out and visit a website to get that information. It is a special format used by websites and blogs to, in essence, broadcast information. Because the information is sent in a special format, you need a special reader to read the information. You view the information in the reader itself. The reader software enables you to choose which RSS feeds you want to read out of the many thousands available. Choosing an RSS feed is commonly called subscribing to the ...

6. Customer Relationship Management in Online Markets
CRM is a comprehensive business and marketing strategy that integrates technology, process, and all business activities around the customer. It is mostly defined in terms of the acquisition and retention of customers, and the resulting profitability. Effective CRM is assumed to lead to bottom-line benefits for the organization. Profits increase by 25-80% when customer retention rates increase by five points. The Internet has provided a platform to deliver CRM functions on the Web (eCRM), thus as business moves to the Web, eCRM will move to c...

7. 7 Ways You Can Differentiate Your Business From Your Competitors
Imagine you are about to buy a new car. You don’t want to buy a car that everyone else and their dog has do you? No. You want to be a little different. You don’t exactly want to stand out, as such, but you certainly don’t want to go along with all the other sheep. You want something almost unique. Yes, unique would be good. Extend this a little further and it’s easy to see why it is essential that your company is seen as unique in some way by your customers and potential customers. If your bus...

8. Warnings About Cyberfraud ~ Phishing for your personal information ~ Nigerian email letter investment scam
Phishing (pronounced “fishing”) is a type of brand spoofing. That is, the Web page of a legitimate Web site — such as your bank, PayPal, Best Buy, and so on — is recreated by a fraudster. An e-mail message is sent to you in an attempt to fool you into revealing your personal financial information or password data. Sometimes, to gain your personal financial information, “Phishers” will use Social engineering: Phishing sometimes uses social engineering to gain your confidenc...

9. Warnings About Cyberfraud ~ Multilevel marketing plans and pyramid schemes
Pyramid schemes, sometimes called multilevel marketing plans, are sure ways to lose money. Individuals are often contacted via e-mail messages and encouraged to recruit six friends; those six people recruit six more friends — and so on, in a relentless search for new recruits. New recruits are expected to purchase a minimum amount of the pyramid’s products. If everyone coop erates, then by level 15, the scheme needs 7.6 billion participants — more than the Earth’s population. Profits from these sch...

10. How to use Viral Marketing in order to promote your web site
Have you ever visited a Web site and found an article, a coupon, a special, or something else that impressed you so much that you immediately sent an e-mail to your friends about it? If you have, you’ve already been bitten by the viral marketing bug! Viral marketing, which is often referred to as “word-of-mouse” marketing, is a low-cost, highly effective way to market your product or service using the Internet. Just like a flu virus in humans, viral marketing replicates and propagates itself online....