SMTP relay setup guides
Point any app that speaks SMTP at smtp.unitpost.com, sign in with the username unitpost and a Unitpost API key as the password, and send from any address on a verified domain. Mail goes through the same pipeline as the REST API, so tracking, webhooks, and the dashboard all work identically.
Connection settings
| Host | smtp.unitpost.com |
|---|---|
| Username | unitpost(always this literal value) |
| Password | Your Unitpost API key(must carry emails:send) |
| Port (STARTTLS) | 587(or 2587 if blocked) |
| Port (implicit TLS) | 465(or 2465 if blocked) |
| From address | Any address on a verified domain |
Setup guides by platform
- Send email with Nodemailer over SMTPcreateTransport pointed at Unitpost — Node, Next.js, or NestJS.
- Send Supabase auth email over SMTPMagic links and confirmations from your verified domain.
- Send WordPress email over SMTPWP Mail SMTP pointed at Unitpost instead of PHP mail().
- Send Auth0 email over SMTPVerification, welcome, and reset mail from your domain.
- Send email from Rails over SMTPAction Mailer pointed at Unitpost.
- Send email from Laravel over SMTPMAIL_HOST in .env pointed at Unitpost.
- Send email from Django over SMTPDjango EMAIL_BACKEND pointed at Unitpost.
- Send email with PHPMailer over SMTPPHPMailer SMTP mode pointed at Unitpost.
- Send email from Next.js over SMTPNodemailer in an App Router Route Handler.
- Send email from NestJS over SMTPNodemailer inside a NestJS provider.
- Send email from Express over SMTPNodemailer from an Express route.
- Send email from Python over SMTPstdlib smtplib — no framework required.
- Send email from Flask over SMTPFlask-Mail pointed at Unitpost.
- Send email from FastAPI over SMTPsmtplib from a FastAPI dependency.
- Send email from Go over SMTPnet/smtp with STARTTLS.
- Send email from Spring Boot over SMTPJavaMailSender properties pointed at Unitpost.
- Send email from .NET over SMTPMailKit pointed at Unitpost.