Email Header Explanation
Email Header Explanation
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - In today s world of technology, it is very difficult to Corporation for Assigned Names & Numbers). Domain
identify the location of a crime. Similar things also happen in Name Server (DNS) is the phonebook of the internet.
case of an e-mail. E-mail is an electronic message transmitted
over a network from one user to another while e-mail header Every device involved in communicating on internet
is a part of an e-mail that comes before the body of the letter requires an IP (Internet Protocol) address. An IP
and contains information about the e-mail. Simply, e-mail address is a series of 4 digits ranging from 0 to 255. It
header is a return address and route label of an e-mail. E-mail allows for a total of 256^4 or 1,099,511,627,776
header consists of two parts, one is header which represent unique addresses. An IP address may belong to either
journey information of e-mail from origin to destination and of two categories: static and dynamic. A static IP
another is body which include written part as well as address is permanently assigned to devices configured
attachment part, e.g. are pictures, documents, sounds & videos, to always have the same IP address (e.g. Website)
etc. In the present study an attempt has been made to review while dynamic IP address is temporally assigned from
e-mail header and its structure, location, protocols, formation
a pool of available addresses registered to an ISP
(Internet Service Provider). ISP is a commercial
as well as forensic examination.
vendor, which reserves block of IP addresses to users.
Key Words: E-mail Header, SMTP, MTA, POP, IMAP, MAPI, ISP may log date, time, account user information and
HTTP ANI (Automatic Number Identification). [2] The
following table [3] is showing details of all classes of IP
addresses:
1.INTRODUCTION
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 642
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
Basically, an e-mail is handled by a minimum of The following table and diagram illustrate the
four separate computers: following details:
(i) The computer it is sent from Step1 A composes message in his computer
known as A.alphanet.com.
(ii) The mail server of the sender Step2 A.alphanet.com sends the e-mail to
mailserver.alphanet.com.
(iii) The mail server of the receiver Step3 mailserver.alphanet.com sends the e-mail
to the mail server of B i.e.
(iv) The computer that receives the e-mail mailserver.betanet.com
Step4 B uses his computer B.betanet.com to
Suppose that A wants to send an e-mail to B .
check his e-mail
A and B use different )SP for sending and receiving e- Step5 B.betanet.com retrieves e-mail of A from
mail. A uses alphanet.com and B uses betanet.com. mailserver.betanet.com.
Firstly, A composes an e-mail on his computer known
as A.alphanet.com. The message will then be send from
his computer to his mail server i.e.
An e-mail header is a part of an e-mail that
mailserver.alphanet.com. After this point, A has no
comes before the body of the letter and contains
control on the message and it will be processed by
information about the e-mail. In simple words, e-mail
other computers, out of his control. When
header is a return address and route label of an e-mail.
mailserver.alphanet.com finds that the message is to be
delivered to B in the betanet.com, it places the
message in the inbox of B . Next time, when B checks
his e-mail account, he finds that the e-mail of A is
delivered to him.
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 643
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
1. Gmail Account- First of all, login your Gmail How Does E-mail Work?
account. Then go to inbox, select one of your messages,
now click on reply option and then select show original An e-mail is based on a Client Server Model.
The Client- The client carries out the user s
option. That is the e-mail header present on the new
interactions with e-mail server. A client can appear in
window.
various forms:
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 644
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
TCP/IP is having many ports that range from 0 to sender s E-mail address and initiates a mail
65535 and it uses different ports to perform different transaction.
jobs. Such as Port 21 is used for FTP (File Transfer E.g. MA)L FROM: A@alphanet.com .
Protocol), Port 25 for SMTP (Simple Mail Transfer This command does not verify that e-mail
Protocol), Port 80 for HTTP (Hyper Text Transfer address provided is valid. When mail server
Protocol), Port 110 for POP3 (Post Office Protocol 3). accepts this command, it replies back a 250
Therefore, Protocol is like the address of the Post Card code.
which is a bit of computer code and is used as a 250 Code (Requested mail action okay,
communicator between two applications. Ports are also completed)
known as Points of Entry .
3. RCPT TO Command- RCPT TO Command is
Outgoing Mail Protocol similar to MAIL FROM Command; it specifies e-
1. SMTP (Simple Mail Transfer Protocol) mail address of the recipient.
E.g. RCPT TO: B@betanet.com .
2. MTA (Message Transfer Agent) = Message ID This command does not verify that e-mail
Incoming Mail Protocol address provided is valid. When mail server
accepts this command, it replies back a 250
1. POP/ POP3 (Post Office Protocol) code.
250 Code (Requested mail action okay,
2. IMAP (Internet Mail Access Protocol)
completed)
3. MAPI (Messaging Application Programme Interface)
4. DATA Command- DATA Command signifies the
4. HTTP (Hyper Text Transfer Protocol)
message portion of the e-mail.
IMAP is used for viewing e-mail stored on a server. DATA starts the actual mail entry. Everything
The basic difference between IMAP and POP3 is that entered after a DATA Command is considered
IMAP does not download the message while POP3 as part of the message.
does. [1] If the mail server accepts this command, it
replies back a 354 code.
Commands and Formation of E-Mail Header 354 Code (Start mail input; end
with<CRLF>.<CRLF>)
SMTP Commands- Most common SMTP commands
used for outgoing mails are as follows [6]-
5. QUIT Command- QUIT command signals the
1. HELO Command- HELO command is used by termination of an SMTP session.
sending machine to identify itself. When SMTP When client want to stop the SMTP connection,
is established, mail servers send a 220 code to then QUIT command is given.
signal that it is ready. Now client will sends a 221 Code (Closing Connection). [7]
HELO Command. This will identify the sending
machine.
E.g. If A.alphanet.com sends HELO to
Mailserver.alphanet.com, and then its
command would be (ELO A.alphanet.com .
220 Code (<domain> Service Ready)
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 645
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 646
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
Description of Envelope Header (Header from the N.B. The information at Sr. No. [11] is configured in e-
Mail Server) mail client by user and may not be reliable. It is
provided by MAIL FROM Command.
REFERENCES
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 648