MaillyDocs

SMTP

Send through Mailly from an existing SMTP library.

Point your SMTP host to smtp.mailly.site.

SMTP transport
host: smtp.mailly.site
port: 465 (TLS) / 587 (STARTTLS)
username: <your-mailly-account-email>  # not the sender address
password: <your-mailly-api-key>
from: <a-claimed-inbox-or-verified-domain-address>
  • The username is the email you sign in to Mailly with, not the sender address.
  • The password is your API key.
  • Set the sender in the From header. It must be a claimed inbox address or an address on a domain verified for sending.
  • Port 465 uses TLS and 587 uses STARTTLS.

SMTP only sends mail. Handle incoming messages through the inbox, webhooks, the API, the CLI or MCP.