IP Address

MAIL HEADER GUIDE

Email header glossary

Definitions for SPF, DKIM, DMARC and other fields used to check senders and email authentication.

Choose a term

What is an email header?

An email header contains technical information such as the sender, recipient, relay servers, authentication results and delivery time. It is separate from the message body and can help investigate spam or spoofing.

A pass result does not by itself prove that a message, link or sender is safe. Consider the header together with the message content and the context.

SPF

Sender Policy Framework uses DNS information published by a domain to check whether the sending server is authorized.

  • pass: the sending IP is authorized by the domain's SPF policy.
  • fail: the message may have come from an unauthorized server.

SPF checks the delivery path; it does not prove the display name or message body.

DKIM

DomainKeys Identified Mail adds a cryptographic signature to a message. The receiving server verifies it with a public key published in DNS.

  • pass: the signature was verified and signed content was not changed in transit.
  • fail: the signature could not be verified or signed content may have changed.

The DKIM signing domain is not necessarily the same as the domain shown in From.

DMARC

Domain-based Message Authentication, Reporting, and Conformance checks SPF or DKIM together with alignment to the From domain, and lets domain owners specify what to do when checks fail.

  • pass: SPF or DKIM passed and alignment with the From domain was confirmed.
  • fail: authentication or domain alignment could not be confirmed.

Policies include none, quarantine and reject.

Authentication-Results

This field records authentication results reported by the receiving server, including SPF, DKIM and DMARC. The analyzer reads these recorded results.

The analyzer displays header records; it does not independently repeat the receiving server's authentication.

Other common fields

FieldMeaning
FromThe sender shown in the message. The display name may differ from the actual address.
ToThe address specified as the recipient.
ReceivedThe servers the message passed through and the time each server received it.
Return-PathThe address used for delivery failures. It may differ from From.
SubjectThe subject line. Older messages may use encoded forms such as ISO-2022-JP.

How to obtain email headers

Gmail on a computer

Open the message, select the three-dot menu near Reply, and choose Show original. Copy the header portion from the original message view.

Gmail on iPhone

The Gmail iPhone app does not show the complete raw header. Open Gmail in Safari, request the desktop website, and use the same three-dot menu and Show original option.

Outlook and Thunderbird

Use Message source or All headers from the message menu, then copy the complete header block.

Use the email header analyzer

Paste the headers to inspect the sender, recipient, relay servers and recorded SPF/DKIM/DMARC results in your browser. The input is not sent or stored.

Open email header analyzer

日本語:メールヘッダ用語集

Privacy note

Email headers may contain email addresses, IP addresses and server names. Check for personal or confidential information before sharing headers publicly.