Testing email, SMS and push notifications
Apps tell people things by email, text and push. Learn what to check, how to catch messages safely, and what a test environment cannot prove.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a post room. A post room sorts the letters before they go out. A clerk opens a few to check the address, the words and the stamp.
But the post room cannot tell you if the letter reaches the house.
A is that post room. Tom, the tester at Daily List, a to-do list app, reads what the app would send. A controlled real send lets him observe delivery separately. A catcher must be configured to keep test mail isolated: tools such as Mailpit can also relay or forward messages externally.
PLAIN WORDS · 1 in this section
- configured
- set up with chosen settings
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Inspecting captured messages in an isolated test setup, like opening letters in a post room.
- Catch
- Read
- Check
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The post room | The mail catcher |
| Opening a few letters | Reading messages |
| A mark on each letter | A unique token |
| The letter arriving | Delivery |
WHERE THIS PICTURE STOPS
- A post room is real, but a catcher is a test tool.
- A clerk sees the stamp, but a catcher cannot see the inbox.
- A letter is sent once, but an app may send twice.
HOOK
Catch, read, check.
TELL A FRIEND
A post room: open a few letters, but do not mail them.
OFTEN MIXED UP WITH Testing connections to outside services. That topic covers outside services. This one covers the message services an app uses.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Market practice
Mailpit: email and SMTP (Simple Mail Transfer Protocol) testing tool (Mailpit) ↗ — Mailpit project · Mailpit site: a test mail tool captures outgoing email from an app, shows it in a web interface and has an API for automated integration tests (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
SMTP relaying (Mailpit) ↗ — Mailpit project · Mailpit SMTP relaying, complete configuration/notes/manual and automatic relay units read 7 November 2026; automatic relay can send to original recipients and ignores manual allowed-recipients.
Complete substantive configuration, notes and environment/manual/automatic units actually read on 7 November 2026 using ordinary web access after direct-fetch403. No SMTP server execution or image/reuse-rights certification. See V72 primary-reading ledger for exact limits.
- Market practice
SMTP forwarding (Mailpit) ↗ — Mailpit project · Mailpit SMTP forwarding, complete configuration/notes/environment units read 7 November 2026; forwarding can send copies to configured external destinations.
Complete substantive configuration, notes and environment/manual/automatic units actually read on 7 November 2026 using ordinary web access after direct-fetch403. No SMTP server execution or image/reuse-rights certification. See V72 primary-reading ledger for exact limits.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.