smtp.dev

Features

Account

Accounts are sandbox email addresses under your domains. They own mailboxes, messages, passwords, quotas, and routing behavior.

Addresses and active state

Create exact addresses like qa@example.test or catch-all addresses like *@example.test. Set is_active to false when an address should stop accepting routed messages without deleting its history.

curl "https://stmp.ink/api/accounts?address=qa@example.test&isActive=true" \
  -H "X-API-KEY: $SMTPDEV_API_KEY"

Passwords and quota

Each account has its own SMTP account password. The API exposes storage_limit and used storage bytes so tests can track fixture growth and cleanup needs.

{
  "address": "qa@example.test",
  "storage_limit": 104857600,
  "used_storage_bytes": 8192,
  "is_active": true
}

Plus-sign aliasing and catch-all

qa+run-42@example.test routes to qa@example.test automatically. If no exact or plus-base account matches, an active catch-all account captures the message for that domain.