Framework guides

23 stacks, each with what to install, the config block to paste, and a test message to send — filled in with a working sandbox pair that is yours, not an example.

Frameworks and languages

What your application sends mail with.

  • Laravel

    Point Laravel's mailer at a sandbox with five environment variables — no package, no code change.

  • Symfony

    One DSN in .env.local sends every Symfony Mailer message to a sandbox.

  • Django

    Five settings send everything django.core.mail produces to a sandbox.

  • Ruby on Rails

    Action Mailer talks to a sandbox with one smtp_settings block per environment.

  • Node.js

    A Nodemailer transport pointed at a sandbox, and every sendMail lands there.

  • Next.js

    Send from a Route Handler or a Server Action — the sandbox catches it like any other SMTP client.

  • Go

    The standard library speaks SMTP; net/smtp needs nothing installed.

  • Spring Boot

    Spring Boot's mail starter reads five properties — point them at a sandbox.

  • Java (Jakarta Mail)

    Jakarta Mail with a Session and an authenticator — no framework involved.

  • .NET

    MailKit against a sandbox — connect, authenticate, send.

  • PHP (PHPMailer)

    PHPMailer against a sandbox, without a framework in the way.

  • Python

    smtplib is in the standard library — nothing to install.

  • Rust

    lettre, with a STARTTLS relay pointed at a sandbox.

Command line

One command, no project — the quickest way to check the credentials.

  • cURL

    One command, no project — the fastest way to prove the credentials work.

  • swaks

    The SMTP swiss army knife: one command that prints the whole conversation.

  • msmtp

    A sendmail-compatible relay for cron jobs, scripts and anything that shells out to sendmail.

  • PowerShell

    A one-liner from Windows, for scripts and scheduled tasks.

Servers and applications

Software that sends its own mail: relays, CMSes, admin tools.

  • Postfix

    Relay a whole machine's outgoing mail into a sandbox — every application on it, without touching any of them.

  • Docker Compose

    Hand the sandbox credentials to a service as environment variables — no container to run alongside it.

  • WordPress

    Send wp_mail() — and every plugin that uses it — to a sandbox instead of the site's host.

  • GitLab

    Catch a self-managed GitLab's notifications without mailing the whole team.

  • Grafana

    Check what an alert actually looks like, without waking anyone up.

  • Keycloak

    See the verification and reset emails a realm sends, exactly as a user would get them.

Not listed?

Mailclutch is a plain SMTP server, so anything that can send mail can send here — the four values above are all any client needs. The SMTP setup page covers the ports, the encryption and what to do when a connection is refused.