SMTP relay
Already have a mailer? Point it at Buzzmark and keep sending the way you do today - no code changes.
Buzzmark speaks SMTP, so anything that can send email - your framework’s mailer, a CLI tool, a CRM - can send through it. Every message still gets tracking, suppression checks, deliverability routing and your message log, exactly like the API.
Connection settings
| Setting | Value |
|---|---|
| Host | smtp.buzzmarkapp.com |
| Ports | 587 (STARTTLS, recommended), 2525 (STARTTLS, alternate) |
| Encryption | STARTTLS - always required |
| Username | your hive’s API token |
| Password | your hive’s API token (the token is both username and password) |
Generate the token on the hive’s page in the dashboard - it is shown once. Because the token is the credential, treat it as a secret and rotate it from the dashboard if it leaks.
Sender requirements
- The
Fromaddress must use a verified domain on your account (unless sender enforcement is disabled). - Recipients on the hive’s suppression list are rejected, just like the API.
- Open and click tracking are applied per the hive’s settings.
Quick test (swaks)
swaks \
--server smtp.buzzmarkapp.com --port 587 -tls \
--auth-user bzm_srv_... --auth-password bzm_srv_... \
--from hello@yourdomain.com \
--to customer@example.com \
--header "Subject: Hello from SMTP" \
--body "It works."
Examples
Laravel - config/mail.php / .env:
MAIL_MAILER=smtp
MAIL_HOST=smtp.buzzmarkapp.com
MAIL_PORT=587
MAIL_ENCRYPTION=tls
MAIL_USERNAME=bzm_srv_...
MAIL_PASSWORD=bzm_srv_...
MAIL_FROM_ADDRESS=hello@yourdomain.com
Node.js - Nodemailer:
const transport = nodemailer.createTransport({
host: "smtp.buzzmarkapp.com",
port: 587,
secure: false, // STARTTLS upgrades the connection
auth: { user: "bzm_srv_...", pass: "bzm_srv_..." },
});
await transport.sendMail({
from: "hello@yourdomain.com",
to: "customer@example.com",
subject: "Hello from SMTP",
html: "<h1>It works</h1>",
});
Next
- API reference - the REST equivalent, plus your message log.
- Webhooks - react to delivery, bounce, open and click events.