Connection settings
Credentials
Switch to the Transactional Email platform (toggle in the sidebar), then open Settings → SMTP Configuration to view your host, username, and password. Use Generate new password to create or rotate the password.Tracking headers
Control tracking and reporting per message with custom SMTP headers:
Click tracking is not available for transactional email, over SMTP relay or the HTTP API.
Custom headers
Any other header you set is passed through to the recipient — use one such asX-Order-Reference
to carry your own correlation id. The one exception is the X-MC-Custom-* family below, which
Mailercloud consumes and strips before delivery.
List-Unsubscribemust be one or more comma-separated values in angle brackets, each starting withhttps://ormailto:.List-Unsubscribe-Postmust be exactlyList-Unsubscribe=One-Clickand requiresList-Unsubscribeon the same message. A value you set replaces the one Mailercloud adds by default.- Headers Mailercloud owns —
From,Message-ID,Date,DKIM-Signature,Feedback-ID,Content-*and similar — are removed and replaced with the platform’s own. Unlike the HTTP API, which rejects the request, SMTP drops an invalid or reserved header silently and still delivers the message.
Custom data on webhooks
To attach your own data to a message and get it back on every transactional webhook event, add one header per key, each prefixedX-MC-Custom-:
custom object, with the X-MC-Custom- prefix removed:
- These headers are consumed by Mailercloud and stripped before delivery — the recipient never sees them.
- SMTP header names are lowercased in transit, so a key sent over SMTP comes back lowercase. (The HTTP Email API preserves your original casing.)
- Up to 10 keys; key names ≤ 50 characters (
A–Z a–z 0–9 - _); values ≤ 256 characters. A key that breaks a rule is listed in the event’scustom_droppedarray and the message is still sent.
Message IDs and duplicates
Mailercloud assigns every message accepted over SMTP relay its own id, and builds the outgoingMessage-ID header from it. A Message-ID set by your application is replaced, so use a custom
header such as X-Order-Reference if you need your own reference on the message.
Security & delivery extras
- IP Allowed List — restrict which IP addresses may send through your account (single IPs, ranges, or wildcards). If unset, all IPs are allowed.
- Webhooks — receive real-time events for transactional sends: Sent, Delivery, Bounce, Spam, Open. See Set up webhooks.
Example (Laravel .env)
SMTP vs HTTP API — which to use?
The sender domain must be verified on your account in either case.