The Subject email header

A short summary of the message, shown in your inbox list.

Content headerUpdated November 12, 2026
Quick answerA short summary of the message, shown in your inbox list. Set freely by the sender.
CategoryContent
Set byThe sender
Trust levelLow on its own

Example

Subject: =?UTF-8?B?WW91ciByZWNlaXB0?=

How to read it

  • Non-English subjects are encoded as =?charset?B?...?= or =?charset?Q?...?=; mail apps decode them.
  • Urgent or threatening subjects ("Account locked", "Final notice") are common phishing tactics.

Can you trust it?

Set freely by the sender. To check an email you are unsure about, paste its full headers into the email header analyzer, or receive it in a temporary inbox where the Email X-ray checks it for you.

How to view email headers

  • Gmail: open the message, click the three dots, then Show original.
  • Outlook: open the message, then File, Properties, Internet headers (desktop), or the three dots, View, View message details (web).
  • Apple Mail: View, Message, All Headers.
  • Yahoo Mail: the three dots, then View raw message.

Where Subject sits in a real message

Every email has a header block at the top, then a blank line, then the body. Your mail app hides most of the header block and shows only a few fields. Here is a short, realistic header block with the Subject line highlighted:

Return-Path: <bounce@mail.example.com>
Received: from mail.example.com (mail.example.com [192.0.2.10]) by mx.yourprovider.com
Authentication-Results: mx.yourprovider.com; spf=pass; dkim=pass; dmarc=pass
From: "Example Store" <news@example.com>
Subject: =?UTF-8?B?WW91ciByZWNlaXB0?=
Date: Thu, 12 Nov 2026 09:14:03 -0500

Servers add their lines at the top as the message travels, so the newest information is first and the sender's original fields are lower down. When you read a header block, start at the top with the lines your own provider added, then work down.

About content headers

Content headers describe the message itself: its subject, its date and how its parts are encoded. They are set by the sender's app and are useful for reading and sorting mail, but they say nothing about whether the sender is genuine.

Checking Subject on a suspicious email

  1. Do not trust this field on its own. The sender wrote it and can put anything here.
  2. Check the Authentication-Results header added by your provider. If DMARC passed for the domain in From, the domain owner authorized the message.
  3. Look for mismatches: a Reply-To at a different domain, a display name that names a bank while the address is a free webmail account, or a domain that is one letter off.
  4. When in doubt, contact the company through its official website or app, never through links in the email.

Notes for developers

  • Header names are case-insensitive, so Subject, subject and SUBJECT are the same field.
  • Long values can be folded across several lines. A line that starts with a space or tab continues the previous header (RFC 5322 section 2.2.3).
  • Non-ASCII text in header values is sent as encoded words such as =?UTF-8?B?...?= (RFC 2047). Decode them before you display or compare values.
  • Some fields may appear more than once. Received, for example, appears once per hop. Decide whether your code needs the first, the last or all of them.
  • Never use this header to make a security decision unless your own server added or verified it.

Other content headers

HeaderWhat it does
DateThe date and time the author's system says the message was written or sent.
X-PriorityMarks the message as high, normal or low priority.
ImportanceThe Microsoft-style priority flag: low, normal or high.
Disposition-Notification-ToRequests a read receipt, sent to the given address when you open the message.

A scenario: the message dated in the future

A message shows up at the top of your inbox for days because its Date header says next week. The Date header is written by the sender's software and is not checked. Spammers sometimes set it ahead to stay at the top of inboxes sorted by date. The Received headers show when the message really arrived.

Quick checklist

  • Compare Date with the newest Received timestamp.
  • Treat odd dates as a sign of careless or malicious software.
  • Check Subject encoding if characters look broken.

Subject in raw, parsed and displayed form

ViewWhat you see
Raw sourceSubject: =?UTF-8?B?WW91ciByZWNlaXB0?=
Parsed by a mail libraryA field named subject with its decoded value
Shown by most mail appsShown directly in the message view

Related guides

Related headers

  • From: Shows who wrote the message.
  • Content-Type: Says what kind of content the message or part contains, such as text/plain, text/html or multipart/mixed, plus the character set.

FAQ

What is the Subject header?

A short summary of the message, shown in your inbox list.

Who sets the Subject header?

The sender.

Can the Subject header be faked?

Set freely by the sender.

Is the Subject header required?

No. Subject is optional. Many messages do not include it, and its absence is not a problem on its own.

Why is Subject missing from my email?

Mail apps hide most headers. Open the full source (Show original in Gmail, View message details in Outlook) to see every header. If Subject is still not there, the sending software simply did not add it.

Can the Date header be wrong?

Yes. It comes from the sender's computer or software. Received headers show the real arrival time.

Why does my subject show strange characters?

The sender's software encoded non-English characters incorrectly. The message content is usually unaffected.

Install TempMailify

Add TempMailify to your device for one-tap access, like a regular app.