Ctrl + K
Email13 min read

Email Headers Explained

A practical guide to email headers, including common fields, message routing, timestamps, authentication results, sender information, and troubleshooting.

Published: 2026-09-02

Email headers are metadata attached to an email message. They contain information about the sender and recipient, message identifiers, timestamps, delivery path, authentication results, and other details used by mail systems to process and deliver messages.

When you read an email, most of this information is hidden behind the normal message interface. However, viewing the complete headers can be extremely useful when troubleshooting delivery problems, investigating suspicious messages, understanding how a message traveled between mail servers, or analyzing email authentication.

What Are Email Headers?

An email consists broadly of headers and a message body. Headers contain structured fields that describe the message and provide instructions or metadata for mail software.

Email message
│
├── Headers
│   ├── From
│   ├── To
│   ├── Date
│   ├── Subject
│   ├── Message-ID
│   ├── Received
│   └── Authentication-Results
│
└── Body
    ├── Text
    └── HTML

Some headers are created by the sender's mail client, while others are added or modified by mail servers as the message travels through the email delivery system.

Email Headers vs Email Body

PartPurpose
HeadersMetadata and processing information
BodyThe actual message content
AttachmentsFiles carried as part of the message

The subject line, sender address, recipient address, and date that you see in an email application are derived from header fields. The visible interface usually presents only a simplified version of the complete header set.

Anatomy of an Email Header

From: Alice <alice@example.com>
To: Bob <bob@example.net>
Date: Wed, 26 Aug 2026 07:30:00 +0300
Subject: Project Update
Message-ID: <abc123@example.com>
Reply-To: support@example.com

Each header generally consists of a field name followed by a colon and its value. Header syntax can be more complex than these simple examples, especially when values contain encoded text, multiple addresses, or structured authentication information.

The From Header

The From header identifies the address presented as the author or sender of the message. It is one of the most visible email headers because mail applications normally display it prominently.

From: Alice <alice@example.com>
⚠️ The From header by itself does not prove that the message was actually sent by the domain shown in the address.

Email authentication mechanisms such as SPF, DKIM, and DMARC provide additional information that receiving systems can use when evaluating whether a message is legitimate.

The To Header

The To header identifies the intended primary recipient or recipients. It is primarily message metadata and should not be confused with the complete set of recipients that may actually receive the message.

To: Bob <bob@example.net>

The Cc Header

The Cc header contains additional recipients who receive a visible copy of the message. Recipients in the To and Cc fields can normally see the other addresses included in those fields.

Cc: Carol <carol@example.net>, Dave <dave@example.net>

The Bcc Header

Bcc stands for blind carbon copy. Recipients added through Bcc are normally hidden from other recipients. Unlike ordinary To and Cc information, Bcc recipients are generally not included in the delivered message headers visible to other recipients.

Mail systems can process Bcc recipients during message submission and delivery, but the original Bcc information is normally removed before the message is delivered to the recipient.

The Subject Header

The Subject header contains the message subject displayed by email clients.

Subject: Project Update

Subject values can contain encoded characters when non-ASCII text is used. Modern mail clients decode these representations before displaying the readable subject.

The Date Header

The Date header represents the date and time associated with the message as supplied by the sending system or mail client.

Date: Wed, 26 Aug 2026 07:30:00 +0300

The Date header should not automatically be interpreted as proof of the exact time a message entered the recipient's mail system. Delivery servers add their own Received headers, which provide additional timestamps.

The Message-ID Header

Message-ID is a unique identifier intended to identify a particular email message. It is useful for threading, tracking, diagnostics, and identifying individual messages across mail systems.

Message-ID: <20260826043000.12345@example.com>

A Message-ID commonly has a local part and a domain-like component enclosed in angle brackets. The exact format depends on the software generating it.

The Reply-To Header

Reply-To specifies an address that email clients should normally use when the recipient chooses to reply. It can differ from the From address.

From: notifications@example.com
Reply-To: support@example.com

This is common for automated notification systems where the sending address is not intended to receive replies.

The Sender Header

The Sender header can identify the mailbox or agent responsible for transmitting a message when it differs from the author identified by From. It is part of the standard email header model and is especially relevant in messages sent on behalf of another entity.

The Received Header

Received is one of the most useful headers when investigating email delivery. Mail servers generally add a Received header when they accept and process a message.

Received: from mail.example.com
    by mx.example.net
    Wed, 26 Aug 2026 04:31:12 +0000

A message that passes through several mail servers can accumulate multiple Received headers. These entries can reveal the sequence of systems involved in delivery, along with timestamps and other connection information.

How to Read Received Headers

Received headers are generally interpreted from the bottom upward to reconstruct the message's progression through the mail infrastructure. The newest receiving server normally adds its entry above the earlier ones.

Received: Server C
Received: Server B
Received: Server A

Approximate path:

Server A → Server B → Server C
⚠️ Do not assume every value inside a Received header is trustworthy simply because it appears in a header. Investigations should consider which server added each entry and whether the surrounding information is consistent.

Received Timestamps

Received headers often contain timestamps generated by the receiving mail server. Comparing these timestamps can help identify delays between mail servers.

ObservationPossible Meaning
Small time differenceNormal mail transfer
Large gap between serversPossible delivery delay
Inconsistent timestampsClock or header anomalies
Unexpected serverPossible routing or configuration issue

Authentication-Results

Authentication-Results records authentication checks performed by a receiving mail system or another trusted processing system. It can contain results for mechanisms such as SPF, DKIM, and DMARC.

Authentication-Results: mx.example.net;
    spf=pass;
    dkim=pass;
    dmarc=pass

Authentication results are particularly useful when investigating suspicious messages, but they should be interpreted in the context of which system generated the header and which identity was actually evaluated.

SPF Results in Email Headers

SPF evaluates whether a sending IP address is authorized to send mail for a domain under the relevant SPF policy. Receiving systems may record the result in Authentication-Results or related headers.

Authentication-Results: example.net;
    spf=pass smtp.mailfrom=example.com

DKIM Results in Email Headers

DKIM uses a cryptographic signature attached to the message. A receiving system can retrieve the corresponding public key from DNS and verify whether the signed content and selected headers validate against that signature.

Authentication-Results: example.net;
    dkim=pass header.d=example.com

DMARC Results in Email Headers

DMARC evaluates message authentication and domain alignment according to the sending domain's DMARC policy. Receiving systems may record the outcome in Authentication-Results.

Authentication-Results: example.net;
    dmarc=pass header.from=example.com

The Return-Path Header

Return-Path identifies the address used for handling envelope-level delivery failures. It is associated with the SMTP envelope sender rather than simply representing the visible From address.

Return-Path: <bounce@example.com>

This distinction is important because the address displayed to a user and the address used for SMTP delivery and bounce handling can be different.

Envelope Sender vs From Header

ConceptPurpose
FromVisible message author identity
Return-Path / envelope senderBounce and SMTP envelope handling
Reply-ToPreferred destination for replies

These fields serve different purposes and should not automatically be expected to contain the same address.

Content-Type

Content-Type describes the media type and structure of the message content. Email commonly uses text/plain, text/html, and multipart content types.

Content-Type: text/plain; charset=UTF-8

Multipart messages can contain multiple representations, such as a plain-text version and an HTML version, or message content combined with attachments.

MIME Headers

MIME-related headers allow email systems to represent different content types, character sets, multipart structures, and attachments.

Content-Type: multipart/mixed;
    boundary="boundary123"

Content-Transfer-Encoding: base64

Content-Transfer-Encoding

Content-Transfer-Encoding describes how message content is represented for transport. Common values include 7bit, quoted-printable, and base64.

Base64 is frequently used for binary attachments and other content that needs a transport-safe representation. Encoding is not the same thing as encryption.

X-Headers

Headers beginning with X- have historically been used for application-specific or vendor-specific metadata. They are not necessarily standardized and their meaning depends on the software that created them.

X-Mailer: Example Mail Client
X-Campaign-ID: 12345

Modern systems may use other namespaced or vendor-specific headers instead of relying on traditional X- conventions.

Email Headers and Spam Filtering

Spam filters can analyze many aspects of a message, including sender identity, authentication results, sending infrastructure, message content, reputation signals, and delivery history. Headers provide important evidence but are only one part of the overall filtering process.

Email Headers and Spoofing

Email addresses shown in From headers can be forged. This is one reason why simply inspecting the visible sender address is insufficient when determining whether a message is authentic.

A better investigation compares the From identity with authentication results, relevant Received headers, the envelope sender, and the infrastructure that handled the message.

Can Email Headers Reveal an IP Address?

Some email headers can contain IP addresses associated with mail servers or connections. However, the exact information depends on the mail providers, clients, network architecture, and which headers are retained or added during delivery.

⚠️ An IP address found in an email header should not automatically be interpreted as the sender's personal IP address. It may belong to a mail server, relay, security gateway, proxy, or other infrastructure.

Email Header Order Matters

Headers do not all have the same trust characteristics. Headers added by your own receiving infrastructure can provide stronger evidence about how the message reached that infrastructure than arbitrary fields supplied by the original sender.

This is especially important when analyzing suspicious email. A sender can construct many ordinary-looking header fields, while trusted receiving systems add their own processing information.

How to View Full Email Headers

Most major email clients provide an option to view the original message, source, or full headers. The exact menu name varies between services and applications.

  • Open the email.
  • Find the message options or more-actions menu.
  • Choose the option for viewing original or full message information.
  • Locate the complete header section.
  • Copy the headers for analysis if necessary.

When sharing headers with another person, remove or redact personal information and sensitive identifiers when they are not required for troubleshooting.

How to Analyze Email Headers

1. Identify From and Reply-To.
2. Check Return-Path.
3. Review Authentication-Results.
4. Examine SPF, DKIM, and DMARC results.
5. Read Received headers from bottom to top.
6. Compare timestamps.
7. Check Message-ID and sending domains.
8. Look for unexpected relays or infrastructure.
9. Investigate suspicious inconsistencies.
10. Avoid treating one header as conclusive proof.

Example Header Analysis

From: billing@example.com
Reply-To: support@example.com
Return-Path: <bounce@example.com>
Message-ID: <abc123@example.com>

Authentication-Results: mx.example.net;
    spf=pass smtp.mailfrom=example.com;
    dkim=pass header.d=example.com;
    dmarc=pass header.from=example.com

Received: from mail.example.com
    by mx.example.net
    Wed, 26 Aug 2026 04:31:12 +0000

In this simplified example, the visible sender and reply address are different by design, while the authentication results indicate successful SPF, DKIM, and DMARC checks. The Received header also shows the mail server that delivered the message to the receiving system.

Common Email Header Problems

  • Unexpected Reply-To address.
  • Authentication failures.
  • Suspicious or inconsistent Received entries.
  • Large unexplained delivery delays.
  • Unexpected sending domains.
  • Mismatched authentication identities.
  • Malformed or unusual header syntax.
  • Unexpected mail relays.
  • Messages claiming to be from a domain that does not authenticate the message.

Email Header Troubleshooting Checklist

☐ Check From
☐ Check Reply-To
☐ Check Return-Path
☐ Check Message-ID
☐ Check Authentication-Results
☐ Review SPF
☐ Review DKIM
☐ Review DMARC
☐ Read Received headers
☐ Compare timestamps
☐ Check sending infrastructure
☐ Look for unexpected relays
☐ Check for suspicious inconsistencies

Frequently Asked Questions

What are email headers?

Email headers are metadata fields that describe an email message and provide information used for addressing, routing, authentication, formatting, and troubleshooting.

What does the From header mean?

The From header identifies the sender address displayed to the recipient. It does not by itself prove that the message was legitimately sent by that address.

What is a Received header?

Received headers are normally added by mail servers when they accept a message. Multiple Received fields can help reconstruct the path an email took through mail infrastructure.

How do I read Received headers?

Received headers are generally analyzed from the bottom upward to reconstruct the approximate sequence of mail servers involved in delivering the message.

What is Authentication-Results?

Authentication-Results records authentication checks performed by a receiving mail system, commonly including SPF, DKIM, and DMARC results.

What is the difference between From and Reply-To?

From identifies the sender address displayed in the message, while Reply-To specifies the address that email software should normally use when the recipient replies.

Can email headers reveal the sender's IP address?

Email headers can contain IP addresses associated with mail servers or connections, but an address found in a header is not necessarily the sender's personal IP address.

Can email headers be forged?

Some headers supplied by the sending side can be forged or manipulated. Headers added by trusted receiving infrastructure and authentication results are generally more useful when investigating a message.

Useful Email Header Tools

Email Header Analyzer can help inspect and interpret complete email headers. HTTP Header Viewer is useful for understanding HTTP header concepts alongside email metadata. Email Address Validator checks email address syntax and validity, while Mailto Link Generator and Email Obfuscator are useful for working with email addresses in web applications.

Conclusion

Email headers provide a detailed view of how an email is addressed, authenticated, routed, and processed. Fields such as From, To, Reply-To, Return-Path, Message-ID, Received, and Authentication-Results each serve different purposes, and understanding those differences makes email troubleshooting much easier.

When investigating a suspicious or delayed message, do not rely on the visible sender address alone. Examine the authentication results, delivery path, timestamps, envelope information, and relevant server-added headers together. With the full header available, many email problems become significantly easier to diagnose.

Found an issue?

Found an error, outdated information, or something missing from this article? Let me know through the Contact page.

Your feedback helps improve our articles and keep them accurate and useful.