What is email? The envelope, the headers and the From address
- Identity
Which standards define email?
Email rests on two separate standards. The Simple Mail Transfer Protocol (SMTP) describes how one mail server passes a message to another (RFC 5321). The Internet Message Format describes the message itself: a set of headers, a blank line, then the body (RFC 5322).
A paper letter is a useful comparison. The address on the envelope decides where the letter goes. The letterhead inside is what the reader sees. The post office delivers the envelope without reading the letter, so the two can say different things.
What is the email envelope?
To send a message, a mail server connects to the receiving server and exchanges a short series of commands. Two of those commands make up the envelope:
MAIL FROMgives the return address. Bounce messages go here, which is why it is also called the bounce address or Return-Path.RCPT TOgives a recipient. The sender repeats it once for each recipient on that server.
You never see the envelope directly. The receiving server copies part of it into headers it adds to the message, and the rest is discarded once delivery is complete.
What are email headers?
After the envelope, the sending server transmits the message: headers, a blank line and the body. Your mail client shows you some of those headers.
From: Accounts <[email protected]> To: [email protected] Subject: Your invoice for October Date: Mon, 5 Oct 2026 09:14:02 +0000 Message-ID: <[email protected]> Please find attached...
The From header is the sender people read and trust. It is also just text that the sender wrote. SMTP delivers it without checking it, and the envelope’s MAIL FROM can name a completely different domain.
Why can email be spoofed?
Email was designed in the 1970s and 1980s for a network of universities and research institutions that knew each other. Proving who sent a message was not one of its goals. Phishing, invoice fraud and fake password-reset emails all rely on that gap: the visible From line can claim any domain.
Three standards were added to close the gap:
- SPF lets a domain publish a list of servers allowed to use it in the envelope’s
MAIL FROM(RFC 7208). - DKIM lets a domain sign messages with a key it publishes in DNS. A receiver can check that the message was not changed in transit, and which domain signed it (RFC 6376).
- DMARC links those checks to the visible
Fromdomain, and lets that domain tell receivers what to do when the checks fail (RFC 9989).
None of these changes how an email looks. They give the receiving server a way to decide whether the From line is genuine.
What are the parts of an email address?
An email address has two parts either side of the @. The local part, before the @, means something only to the receiving domain. The domain, after the @, is what the rest of the internet uses to find the server that receives mail for it. Email authentication is about the domain part, because that is what a domain owner controls and can publish records for.
To see the envelope and headers of a real message, and whether its From line holds up, send one to our message check. It shows what the receiving server saw.
Questions people ask
- What is the difference between the envelope sender and the From address?
- The envelope sender, set by the SMTP MAIL FROM command, is where bounces go and is what SPF checks. The From address is a header inside the message that your mail client displays. They are set separately, so they can name different domains.
- Can anyone put any address in the From line?
- Yes. SMTP delivers the From header without checking it. DMARC is the standard that lets a receiving server check whether the From domain is genuine, by requiring SPF or DKIM to pass for that same domain.
- Which standards define email?
- SMTP, defined in RFC 5321, covers how servers transfer mail. The Internet Message Format, RFC 5322, covers what a message contains. SPF (RFC 7208), DKIM (RFC 6376) and DMARC (RFC 9989) add sender authentication on top.
Sources
See it on your own domain. The scan reads all twelve record types in one lookup, free and without an account.
Scan a domainRead next
- DMARC p=none: what it means and when to move to rejectWhat DMARC p=none does and does not do, why domains get stuck on it, and a step-by-step check for when it is safe to move to p=quarantine or p=reject.
- Email security standards, RFC by RFC: from SMTP to DMARCbisEvery email security RFC with its year and status, from SMTP (RFC 5321) to DMARC (RFC 9989): what each does, which is current, and what DMARCbis changed.