Laravel MailCatcher Config & .env Example on macOS (Zero Docker SMTP on Port 1025)
Testing password resets, Stripe receipts, and queue notifications locally in Laravel shouldn't require sending real emails through Mailtrap limits or booting a 4 GB Docker container just to catch SMTP traffic.
Here is the exact Laravel .env MailCatcher configuration for catching every local email safely on 127.0.0.1:1025 on macOS — plus how to pair it with local dump() inspection without touching Docker.
1. Exact Laravel .env MailCatcher Config (Laravel 10, 11 & 12)
Drop these six lines into your local .env file:
MAIL_MAILER=smtp MAIL_HOST=127.0.0.1 MAIL_PORT=1025 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="hello@my-app.test" MAIL_FROM_NAME="${APP_NAME}" If you changed .env while config caching was enabled, flush it once:
php artisan config:clear 2. Quick 1-Line Test via Laravel Tinker
Verify your local SMTP interceptor is catching messages without building a form:
php artisan tinker --execute="Illuminate\Support\Facades\Mail::raw('Local MailCatcher works!', fn(\$m) => \$m->to('dev@example.test')->subject('SMTP Test'));" If nothing arrives on port 1025, check whether another local daemon (Mailpit, MailHog, or an old container) already bound port 1025:
lsof -nP -iTCP:1025 -sTCP:LISTEN 3. Native macOS Alternative to Docker MailCatcher + Herd Pro
If you're running Laravel or WordPress on Apple Silicon and want a native Swift menu-bar stack that bundles:
- Built-in local SMTP MailCatcher on port 1025 (zero external binaries)
- Built-in Dump Server on port 9912
- Side-by-side PHP 8.1–8.5 FPM Unix sockets & automatic Keychain
.testHTTPS - Visual Tinker REPL, Universal DB Browser, and 1-click Cursor / Claude Code MCP
Check out our full MailCatcher & Dump Server configuration guide, our Docker vs native Apple Silicon battery life comparison, or grab the $0 Free Forever macOS build (plus Laravel Herd lifetime license alternative pricing) at https://stratosapp.dev/download/.
We also just shipped the free VS Code / Cursor Companion Extension on the Visual Studio Marketplace: https://marketplace.visualstudio.com/items?itemName=stratosapp.stratos-macos
How are you catching local Laravel emails on macOS in 2026 — MailCatcher, Mailpit, HELO, or Mailtrap?