Trace mail header
Here is an example of a mail header with each field explained:
Delivered-To: [email protected]
Received: from mx1.example.com (mx1.example.com [192.0.2.1])
by mx2.example.com with SMTP; Fri, 12 Feb 2021 14:30:00 +0000
Received: from mail-relay.example.net (mail-relay.example.net [203.0.113.1])
by mx1.example.com with SMTP; Fri, 12 Feb 2021 14:29:59 +0000
Received: from localhost (localhost [127.0.0.1])
by mail-relay.example.net with ESMTP; Fri, 12 Feb 2021 14:29:58 +0000
From: [email protected]
To: [email protected]
Subject: Test Email
Date: Fri, 12 Feb 2021 14:29:57 +0000
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Here's a breakdown of each field:
Delivered-To
: The email address that the message was delivered to.Received
: A series of fields that show the path the email took from the sender to the recipient. Each field shows the IP address and hostname of the mail server that received the email, along with the date and time it was received.From
: The email address of the sender.To
: The email address of the recipient.Subject
: The subject line of the email.Date
: The date and time the email was sent.Message-ID
: A unique identifier for the email message.MIME-Version
: The version of the Multipurpose Internet Mail Extensions (MIME) standard used to format the email.Content-Type
: The type of content in the email, such as text or HTML.Content-Transfer-Encoding
: The encoding used to transfer the email content.
Here's a more detailed explanation of each field:
Received
: This field shows the path the email took from the sender to the recipient. Each field shows the IP address and hostname of the mail server that received the email, along with the date and time it was received. The fields are listed in reverse chronological order, with the most recent field first.From
andTo
: These fields show the email addresses of the sender and recipient, respectively.Subject
: This field shows the subject line of the email.Date
: This field shows the date and time the email was sent.Message-ID
: This field shows a unique identifier for the email message. This is used to identify the message and prevent duplicate delivery.MIME-Version
: This field shows the version of the Multipurpose Internet Mail Extensions (MIME) standard used to format the email. MIME is used to define the format of the email, including the type of content and the encoding used.Content-Type
: This field shows the type of content in the email, such as text or HTML.Content-Transfer-Encoding
: This field shows the encoding used to transfer the email content. This is used to ensure that the email content is delivered correctly and can be read by the recipient.