How Email Works: SMTP, DNS, and Why Temporary Email Exists
Most people use email every day without knowing what happens between clicking "Send" and the message appearing in someone's inbox. Understanding that journey — through SMTP servers, DNS lookups, and MX records — reveals exactly why temporary email services work the way they do.
Quick access
This guide explains email infrastructure from the ground up: the protocols that route messages across the internet, the records that tell servers where to deliver mail, and how temp mail services hook into this system to create disposable inboxes that work instantly without registration. For a practical overview of what temp mail is and when to use it, see the complete guide to temporary email.
A Brief History of Email — From ARPANET to Temp Mail
The story of email begins in 1971 when Ray Tomlinson, working on the U.S. Department of Defense's ARPANET, sent the first electronic message between two machines. His key innovation was the "@" symbol, separating the user name from the host computer — a convention that survives unchanged more than fifty years later.
Throughout the 1980s and 1990s, email expanded from research labs to everyday life. Desktop clients like Eudora and Microsoft Outlook gave personal computer users access to electronic mail for the first time. Then, in the late 1990s, free webmail services — Hotmail in 1996, Yahoo Mail in 1997, and eventually Gmail in 2004 — made email universally accessible to anyone with a browser and an internet connection.
But universal access brought universal problems. By the mid-2000s, spam accounted for over 80% of all email traffic worldwide. Phishing attacks grew more sophisticated. Data breaches exposed hundreds of millions of email addresses. These escalating threats created demand for a new service category: temporary email. The first disposable inbox providers appeared in the mid-2000s, and the concept has evolved into a mature privacy tool used by millions today. For the full evolution, see The Evolution of Temp Mail.
The Journey of an Email — Step by Step
Sending an email feels instant, but the message passes through multiple systems before reaching its destination. Here is what actually happens, broken into four steps.
Step 1 — You Hit Send: Email Client to SMTP Server
When you compose a message in Gmail, Outlook, Thunderbird, or any other email client and press "Send," your client connects to an outgoing mail server using a protocol called SMTP — Simple Mail Transfer Protocol. This connection typically uses port 587 (with STARTTLS encryption) or port 465 (with implicit TLS).
Your client authenticates with the SMTP server using your username and password, then hands off the message. At this point, the email has left your device and is now the server's responsibility to deliver.
Step 2 — DNS Lookup: Where Does This Email Go?
The SMTP server needs to figure out where to deliver your message. It does this by querying the Domain Name System (DNS) for the MX record — Mail Exchanger record — of the recipient's domain.
For example, if you're sending to someone@gmail.com, the SMTP server asks DNS: "What server handles email for gmail.com?" DNS responds with something like alt1.gmail-smtp-in.l.google.com — that's the address of Google's incoming mail server. The MX record is, in essence, a forwarding instruction that says "deliver all mail for this domain to this server."
This MX record system is the foundation that makes temp mail possible, but we'll get to that shortly.
Step 3 — Server-to-Server Delivery: SMTP Relay
Your sending SMTP server connects to the recipient's incoming SMTP server (the one specified by the MX record) and performs an SMTP handshake—a structured conversation in which the two servers verify identities, negotiate encryption, and transfer the message. TLS encryption protects the email content during this server-to-server transit.
If the first MX server is unavailable, the sending server falls back to the secondary MX records (most domains list multiple MX records for redundancy). If all servers are unreachable, the email is queued for retry. After multiple failed attempts over hours or days, the sender receives a bounce notification.
Step 4 — Inbox Storage: IMAP and POP3
Once the receiving server accepts the message, it stores the email and waits for the recipient to check their inbox. The recipient's email client retrieves messages using one of two protocols:
IMAP (Internet Message Access Protocol): Syncs email across multiple devices. Messages stay on the server, and any action you take (read, delete, move) is reflected everywhere. This is what Gmail, Outlook, and most modern services use.
POP3 (Post Office Protocol 3): Downloads email to a single device and typically deletes it from the server. Less common today but still used in some configurations where local storage is preferred.
Components of an Email Message
Every email is more than just the text you see. Under the surface, it carries structured data that tells servers how to route, display, and process the message.
Headers: Metadata including From, To, Subject, Date, and Message-ID. These are the routing instructions that every server along the delivery chain reads and acts on.
Hidden headers: Fields like Return-Path (where bounces go), Received (a chain showing every server the email passed through), and Authentication-Results (SPF, DKIM, and DMARC check outcomes). These are invisible in most email clients but reveal the full journey of a message.
Body: The actual content, formatted as either plain text, HTML, or both (multipart/alternative). Most modern emails are HTML, which is why you see formatted text, images, and clickable links.
Attachments: Files encoded using MIME (Multipurpose Internet Mail Extensions). MIME encodes binary files into text-safe formats that can travel through email's text-based infrastructure.
How Temp Mail Hooks Into This Infrastructure
Here is where everything connects. Temporary email services don't use a separate, proprietary system — they plug directly into the standard email infrastructure described above. This is why temp mail addresses receive real emails from real servers: they are real email addresses, just with a different lifecycle.
Catch-All MX Records — Instant Address Generation
When tmailor.com registers a domain (say, example-temp.com), it configures the MX record for that domain to point at tmailor's receiving server. Critically, the server is configured as a "catch-all"—it accepts email sent to any address on that domain, regardless of whether the address is pre-created.
This is why you get a working temp mail address instantly. The address doesn't need to be "created" in a traditional sense. The MX record tells the internet, "send all email for this domain to our server," and the server accepts everything that arrives. When you visit tmailor.com and see a randomly generated address, that address is already functional because the domain's MX record already routes all mail to tmailor's server. For a deeper technical explanation, see Catch-All and Random Aliases: Why Temp Mail Feels Instant.
No SMTP Outbound = Receive-Only
Temp mail services set up MX records (for receiving) but do not configure SPF, DKIM, or DMARC records for outbound sending. These authentication records are what email servers use to verify that a sending server is authorized to send email on behalf of a domain.
Without them, any email sent from a temp mail domain would fail authentication checks and land in spam — or be rejected outright. This is why temp mail is receive-only by design, not by limitation. The infrastructure for sending simply isn't configured, and enabling it would get every domain blacklisted within days.
500+ Domains = 500+ MX Configurations
Tmailor.com operates over 500 different domains, each with its own MX record pointing to tmailor's servers. This domain diversity is a strategic response to how websites block temp mail: they maintain lists of known disposable email domains. With 500+ domains in active rotation, tmailor.com stays ahead of most blocklists.
When a domain is flagged by a platform, users can generate a new address on a different domain that hasn't been blocked. This is why domain rotation improves OTP reliability — it's an infrastructure-level solution to a blocklist-level problem.
Google Infrastructure = Gmail-Level MX
Tmailor.com routes all incoming email through Google's mail servers. This means the MX records for tmailor's domains point to Google infrastructure — the same infrastructure that processes Gmail. The practical impact is significant: when a website's mail server looks up the MX record for a tmailor.com domain and sees Google IP addresses, it treats the domain with higher trust than it would a random self-hosted server.
This Google-backed routing also means faster delivery, better global coverage, and higher reliability. Learn more in the FAQ: Why Does Tmailor.com Use Google's Servers?
Email Security — Why Your Inbox Is a Target
Understanding email infrastructure also means understanding why it is attacked so aggressively. Your email address is the most commonly exploited identifier on the internet.
Phishing: Attackers forge the "From" header to impersonate banks, employers, or services you trust. SMTP was designed in an era of trust, and sender verification (SPF, DKIM, DMARC) was bolted on decades later. Many servers still don't enforce it strictly.
Spam: Roughly 45% of all email traffic worldwide is spam. Every time you enter your real email address on a website, you increase the odds that it ends up on a marketing list — or worse, gets sold to a data broker.
Data breaches: Your email address is typically the primary key in every database you've ever signed up with. When a service is breached, your email address is the first thing exposed, and it becomes the key for credential-stuffing attacks against your other accounts.
Tracking pixels: Hidden 1x1 images embedded in marketing emails tell senders when you open a message, from which device, and sometimes your approximate location. Your inbox is not just a mailbox — it's a surveillance tool for marketers.
These threats are exactly why temporary email exists. By using a disposable address for low-trust interactions, you keep your real email out of the databases that eventually get breached, sold, or scraped.
Email Clients and Providers — A Quick Overview
How you access email depends on your client (the software) and your provider (the service).
Webmail providers: Gmail, Outlook.com, Yahoo Mail, ProtonMail. These offer both the email account and a browser-based client. Most people use one of these as their primary email.
Desktop clients: Thunderbird, Apple Mail, Microsoft Outlook (desktop). These connect to your provider via IMAP or POP3 and let you manage email offline.
Temp mail clients: Tmailor.com offers a web-based client, dedicated mobile apps for Android and iOS, and a Telegram bot. Unlike traditional clients, temp mail clients don't require login credentials because there is no account — just a domain, a catch-all server, and an access token.
From Email Basics to Temp Mail — Connecting the Dots
Now you understand the full picture. Email travels through SMTP, gets routed by DNS and MX records, and lands in an inbox managed by IMAP or POP3. Temp mail services tap into exactly this infrastructure: they register domains, configure catch-all MX records, run receiving servers on Google's infrastructure, and present your incoming mail through a simple web interface.
There is nothing "fake" about a temporary email. It uses the same protocols, routing, and delivery mechanisms as every other email on the internet. The difference is intentional: temp mail addresses are designed to be disposable, anonymous, and short-lived — which is precisely what makes them useful for privacy protection, spam avoidance, and low-risk signups.
For a complete technical walkthrough of every component, see How Temporary Email Works: A Technical A-to-Z Guide. Ready to try it yourself? Create a free temp mail address on tmailor.com in under ten seconds.
Frequently Asked Questions
Is Temp Mail using real email protocols?
Yes, 100%. Temp mail receives email through standard SMTP and routes it via standard MX records — the same infrastructure Gmail and Outlook use. The addresses are technically real email addresses with an intentionally limited lifespan.
Why can't Temp Mail send emails?
Temp mail services don't configure SPF, DKIM, or DMARC records for outbound authentication. Without these, any email sent from a temp mail domain would fail verification checks and be rejected or marked as spam. This is a deliberate architecture choice to keep disposable domains functional for receiving.
Can I see the email headers of temp mail messages?
Yes. Emails received through temp mail carry the same headers as any other email: From, To, Subject, Date, Received chain, and authentication results. The headers will show the full delivery path, including the Google servers that tmailor.com uses for processing.
What makes tmailor.com's email delivery faster than competitors?
Two factors: Google's mail server infrastructure handles SMTP inbound traffic, and Google CDN distributes inbox data globally. This combination means messages arrive faster and the web interface loads faster, regardless of where you're located. Details are in Why Tmailor Uses Google's Servers.