TOPIC 42/6215 MINNOT STARTED

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.

  1. Catch
  2. Read
  3. Check
Post room

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The post roomThe mail catcher
Opening a few lettersReading messages
A mark on each letterA unique token
The letter arrivingDelivery

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
  1. 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)

    Describes a tool that captures email sent by an app in a test environment, shows it in a web interface and offers an API for automated tests. Project site. Practitioner guidance, not a standard. · Checked 2026-10-31

    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.

  2. 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.

    Current vendor configuration guidance for Mailpit; not a guarantee of real inbox placement or other providers’ behavior. · Checked 2026-11-07

    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.

  3. 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.

    Current vendor configuration guidance for Mailpit; not a guarantee of real inbox placement or other providers’ behavior. · Checked 2026-11-07

    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.