Ruby SMTP catcher with web UI — the original.
MailCatcher is for Ruby dev. MailKite is for production send + receive.
A minimal, copy-paste starter. Swap in your own domain and API key.
import { MailKiteClient } from "@mailkite/client";
// One API, your own DKIM-signed domain — no mail server to run
const mailkite = new MailKiteClient({ token: process.env.MK_API_KEY! });
await mailkite.send({
from: "you@yourdomain.com", // any address on a verified domain
to: "user@example.com",
subject: "Hello from MailCatcher",
html: "<p>Sent in milliseconds via MailKite.</p>",
}); MailCatcher is the original Ruby SMTP catcher (gem, MIT) that inspired MailHog. It catches SMTP on :1025 and shows mail in a web UI on :1080. Maintained slowly; many new stacks use Mailpit instead.
Open source (self-host)
Point a domain, drop in a webhook URL, and send your first email in minutes. Unlimited domains, no credit card.