Glossary¶
Short explanations of terms you’ll see in Mailexam documentation, in engineering conversations, and when configuring mail. Written for junior developers and managers — without diving into RFCs or cryptography.
SMTP¶
SMTP (Simple Mail Transfer Protocol) is the standard protocol for sending email on the internet. Your application uses SMTP to hand a message to a mail server; from there, servers relay it to the recipient — or, in a test environment, capture it in a sandbox.
Simple analogy¶
Think of a post office counter:
| Real mail | In IT |
|---|---|
| You bring an envelope to the desk | The app builds the message (subject, body, attachments) |
| Staff accepts the item | The app connects to an SMTP server |
| Mail is sorted and forwarded | The SMTP server passes the message to the next hop |
Without SMTP (or an equivalent), the app can only prepare a message — not send it.
What people usually configure¶
SMTP setup needs a host, port, login, and password. Common ports:
| Port | Meaning (simplified) |
|---|---|
| 587 | Recommended: sending with encryption (STARTTLS) |
| 465 | Sending over an encrypted connection from the start (SMTPS) |
| 25 | Classic port; often blocked by hosting and corporate networks |
| 2525 | Alternative when port 25 is blocked |
With Mailexam, you point the app at a test SMTP host ({login}.mailexam.io). Messages land in your project dashboard, not in real inboxes. Step-by-step setup: integration examples.
For managers
“Configure SMTP” in a ticket usually means: provide developers with host, port, login, and password so the app can send mail. For Mailexam, those credentials are issued when a project is created.
Sandbox¶
In email, a sandbox is an isolated test environment where messages go instead of real recipients. This is not a browser sandbox or a Docker sandbox — it specifically means safe email debugging.
Why a sandbox exists¶
| Without a sandbox | With a sandbox (Mailexam, Mailtrap, etc.) |
|---|---|
| A test email might reach a customer or random address | Only your team sees it in a test inbox |
| Risk of leaking tokens, passwords, or personal data | You can run production-like flows without spamming people |
| Hard to automate checks in CI/CD | API and a single place for all test messages |
Sandbox ≠ production¶
- In production, SMTP points to SendGrid, Amazon SES, corporate Exchange, etc. — mail is delivered to recipients.
- In a sandbox, you often keep the same sending code and only swap SMTP credentials (host, login, password) for test values.
Mailexam is a cloud sandbox for teams: development, QA, CI/CD pipelines. Messages are not delivered to real internet mailboxes — they are stored in your project and available in the browser and via the API.
“Sandbox” at competitors
Mailtrap also calls its test mode Sandbox (host sandbox.smtp.mailtrap.io). The idea is the same: a test SMTP inbox, not live bulk sending.
DKIM¶
DKIM (DomainKeys Identified Mail) is a way to cryptographically sign outbound mail for a domain (for example, company.com). The receiving server verifies the signature and decides whether to trust the message.
Simple analogy¶
Like a seal on an official document: the sender proves the message is tied to the claimed domain, not forged by an attacker.
How it works (high level)¶
- A TXT record with a public key is added to the domain’s DNS.
- The sending mail server signs each message.
- The receiving server verifies the signature. Failures often mean spam folder or rejection.
DKIM is often used together with SPF and DMARC to improve deliverability and protect your brand from phishing “from your domain.”
Do you need DKIM for Mailexam?¶
Usually no. Mailexam is for test mail: messages are caught in the sandbox and do not reach real recipients on the internet. DKIM, SPF, and DMARC matter when you run production sending from your own domain (marketing, transactional mail, customer notifications).
For managers
If a developer says “we don’t set up DKIM in the sandbox,” that’s expected: for checking templates, links, and send logic in Mailexam, domain signing is not required. DKIM comes later with production SMTP and DNS work.
How the terms fit together¶
flowchart LR
App[Your application] -->|SMTP| Sandbox[Test server<br/>Mailexam]
Sandbox --> Inbox[Dashboard / API]
Prod[Production SMTP] -->|SMTP + DKIM| Internet[Real recipients]
| Term | Typical role |
|---|---|
| SMTP | How the app sends mail |
| Sandbox | Where mail goes during development |
| DKIM | How you prove domain ownership in real delivery |
Read next¶
- Integration examples — Mailexam SMTP in Laravel, Django, Node.js, and more.
- Migrating from Mailtrap to Mailexam — swap test SMTP (sandbox) without rewriting app code.
- Mailpit and MailHog vs Mailexam — local single-machine sandbox vs cloud for teams.