SMTP relay
| Setting | Value |
|---|---|
| Host | smtp.mailerowl.com |
| Ports | 587 (STARTTLS) or 465 (implicit TLS) |
| Username | mailerowl |
| Password | Your API key (mo_live_… or mo_test_…) |
Authentication is only accepted over TLS. The From domain must be verified. Messages enter the same pipeline as the API, so quotas, suppression and events work identically.
Control headers
| Header | Effect |
|---|---|
X-MailerOwl-Marketing: true |
Treat as marketing mail (unsubscribe headers) |
X-MailerOwl-Tags: category=welcome, plan=pro |
Add tags |
X-MailerOwl-Idempotency-Key: … |
Idempotency key |
These headers are removed before delivery.
Examples
Nodemailer
const t = nodemailer.createTransport({host: "smtp.mailerowl.com", port: 587, auth: {user: "mailerowl", pass: process.env.MAILEROWL_KEY}});
Python
with smtplib.SMTP("smtp.mailerowl.com", 587) as s:
s.starttls(); s.login("mailerowl", key); s.send_message(msg)
Laravel .env
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailerowl.com
MAIL_PORT=587
MAIL_USERNAME=mailerowl
MAIL_PASSWORD=mo_live_xxxxxxxx
MAIL_ENCRYPTION=tls