smtp.dev

Guides

Catch-All Accounts

A catch-all account receives unmatched local parts for a domain, making it useful for throwaway QA addresses and per-run isolation.

Create the wildcard account

Create an account whose address starts with *@. Exact accounts win first; the catch-all is only the fallback.

curl -X POST https://stmp.ink/api/accounts \
  -H "X-API-KEY: $SMTPDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain_id":1,"address":"*@dev.example.test","is_catch_all":true}'

Use plus-addressing

Mail sent to qa+checkout-42@dev.example.test routes to qa@dev.example.test. The original recipient remains in to_addresses so searches can target the run tag.