Documentation

SMTP

Prefer SMTP? Point any existing mailer — Nodemailer, Postfix, a framework's mailer, a legacy app — at mailstein and keep your code. Your API key is the password.

Connection settings

SettingValue
Hostsmtp.mailstein.com
Port2525
SecuritySTARTTLS
Usernamemailstein
Passwordyour mailstein API key (ms_...)
The From address must be on a verified domain, exactly as with the API. Delivery status, bounces and opens flow into the same dashboard and webhooks.

Example — Nodemailer

Node.js
import nodemailer from "nodemailer";

const transport = nodemailer.createTransport({
  host: "smtp.mailstein.com",
  port: 2525,
  secure: false,        // STARTTLS is negotiated on 2525
  auth: {
    user: "mailstein",
    pass: "ms_your_api_key",
  },
});

await transport.sendMail({
  from: "hello@yourdomain.com",
  to: "customer@example.com",
  subject: "Sent over SMTP",
  html: "<p>Same platform, your existing mailer.</p>",
});

Notes