Skip to content

Catching Outgoing Mail

The edge stack includes a shared Mailcatcher so mail your projects send during development never leaves your machine — it lands in a web inbox instead.

Every project should send its SMTP output to mailcatcher:1025 — the container’s hostname on the shared edge network. In compose or your app config, set the mailer host to mailcatcher and the port to 1025.

The shopware-dockware profile wires this up for you. Its override sets the relevant environment variables on the shop container automatically:

shopware-dockware profile (excerpt)
environment:
MAILER_DSN: "smtp://mailcatcher:1025"
MAILER_URL: "smtp://mailcatcher:1025"
MAIL_HOST: "mailcatcher"
MAIL_PORT: "1025"

The Mailcatcher UI is served over HTTPS at mail.<base-domain>:

open the inbox
open https://mail.coding9.test

Because Mailcatcher lives in the edge stack, a single inbox collects mail from all your running projects at once.