In more detail
Long TXT values are split into 255-character strings that receivers join back together.
Why it matters for your inbox
Understanding terms like TXT record helps you judge whether an email is trustworthy and how your address is handled online. Every message in our temporary inbox comes with an Email X-ray that checks sender authentication, tracking images and suspicious links for you.
Related terms
- SPF: Sender Policy Framework, a DNS record listing which servers may send mail for a domain, helping receivers detect spoofing.
- DKIM: DomainKeys Identified Mail, a cryptographic signature added to emails so receivers can verify they weren't altered and came from the domain.
- DMARC: A policy that tells receivers what to do with mail failing SPF or DKIM checks, and where to send reports.
TXT record at a glance
| Term | TXT record |
| Category | How email works |
| Short definition | A DNS record that holds free-form text, used for SPF, DKIM, DMARC and domain verification. |
Where TXT record fits: how email works
Email is delivered by a chain of programs that follow open standards. Your app hands the message to a sending server with SMTP, the sending server looks up the recipient domain's MX records in DNS, and the receiving server stores the message until your app collects it with IMAP or POP3. Each step leaves traces in the headers, which is how you can trace a message and diagnose problems.
More how email works terms
| Term | Meaning |
|---|---|
| A record | A DNS record that points a hostname to an IPv4 address. |
| Bounce | A message returned to the sender because it couldn't be delivered. |
| CNAME record | A DNS record that makes one hostname an alias of another. |
| DMARC aggregate report | A daily XML summary that mailbox providers send to the address in your rua= tag. |
| DNS | The Domain Name System, which translates domain names into the information computers need, like IP addresses and mail servers. |
| DNSSEC | Security extensions that cryptographically sign DNS records so they cannot be forged in transit. |
How this works in practice
Sending an email involves at least three programs. Your mail app (the user agent) hands the message to your provider's submission server, usually on port 587. That server looks up the recipient domain's MX records and connects to the receiving server on port 25, encrypting the connection with STARTTLS when both sides support it. The receiving server runs its checks, stores the message, and your recipient's app downloads or syncs it with IMAP, POP3 or the provider's own app. Every server along the way adds a Received header, which is how you can trace the route afterwards.
Most delivery problems come from one step in that chain: a missing DNS record, a blocked port, a full mailbox or a failed authentication check. The SMTP error code in the bounce tells you which step failed.
Common misconceptions
| Myth | Reality |
|---|---|
| Email is delivered instantly. | Usually within seconds, but servers may queue and retry for days after a temporary error. |
| Deleting an email deletes it everywhere. | Copies may remain on the sender's server, in backups, and in any app that downloaded it with POP3. |
| Email is encrypted end to end. | Most email is encrypted between servers, not end to end. Providers can read stored messages. |
What you can do
- Look up a domain's mail servers with our MX lookup.
- Use the SMTP error reference when a message bounces.
- Prefer IMAP over POP3 if you read mail on more than one device.
Terms used on this page
- DNS
- The Domain Name System, which translates domain names into the information computers need, like IP addresses and mail servers.
- SPF
- Sender Policy Framework, a DNS record listing which servers may send mail for a domain, helping receivers detect spoofing.
- DKIM
- DomainKeys Identified Mail, a cryptographic signature added to emails so receivers can verify they weren't altered and came from the domain.
- DMARC
- A policy that tells receivers what to do with mail failing SPF or DKIM checks, and where to send reports.
- SMTP
- Simple Mail Transfer Protocol, the standard protocol servers use to send and relay email across the internet.
- IMAP
- Internet Message Access Protocol, the standard that lets an email app read messages that stay stored on the mail server.
Free tools for this
- SPF Checker: Validate SPF, spot multiple records and estimate DNS lookups.
- DKIM Checker: Fetch a DKIM public key by domain and selector.
- DMARC Checker: See any domain's DMARC policy and what it means.
Related guides
Nearby in the glossary
- Typosquatting: Registering misspelled versions of popular domains to catch typing mistakes.
- URL shortener: A service that turns a long link into a short one that redirects to the real destination.
- Two-factor authentication (2FA): A login method requiring two forms of proof, such as a password plus a code from an app.
FAQ
What does TXT record mean?
A DNS record that holds free-form text, used for SPF, DKIM, DMARC and domain verification.
Why should I know about TXT record?
Long TXT values are split into 255-character strings that receivers join back together.
Why did my email take hours to arrive?
A server along the way probably returned a temporary error, such as greylisting, and retried later. The Received headers show where the delay happened.