Docs
Quickstarts

Send with SMTP

For apps that only speak SMTP.

Use SMTP for WordPress, Laravel, Django, Rails, Outlook, printers, and anything else that can send through an SMTP server.

SettingValue
Hostpostwaves.online
Port2587 (STARTTLS)
Usernameanything, e.g. postwave
Passwordyour API key (pw_…)

Mail sent over SMTP goes through the same pipeline as the API: it appears in Emails and fires the same webhooks, and suppression and limits apply.

import nodemailer from 'nodemailer';

const transport = nodemailer.createTransport({
  host: 'postwaves.online',
  port: 2587,
  auth: { user: 'postwave', pass: process.env.API_KEY },
});

await transport.sendMail({
  from: 'Acme <onboarding@yourdomain.com>',
  to: 'delivered@postwave.test',
  subject: 'Hello over SMTP',
  html: '<strong>It works!</strong>',
});
Was this page helpful?Send feedback