Skip to content

Getting started

SMTP relay

For frameworks and tools that speak SMTP. Sign in with an API key and send from your verified domain.

SettingValue
Hostsmtp.chebu.io
Port587 with STARTTLS, or 465 with TLS
Usernamechebu
PasswordAn API key with sending access

The From address must be on a verified domain in the key's workspace, and within the key's domain if it has one. Relay mail counts as API sends and follows the same rules as the REST API: up to 50 recipients per email, and each email counts once toward your API send allowance.

Send over SMTP
# message.eml holds the full message, headers first:
#   From: Northwind <receipts@northwind.studio>
#   To: maya@example.com
#   Subject: Your receipt #1042
#
#   Thanks for your order.
curl --url smtp://smtp.chebu.io:587 --ssl-reqd \
  --user "chebu:$CHEBU_API_KEY" \
  --mail-from receipts@northwind.studio \
  --mail-rcpt maya@example.com \
  --upload-file message.eml

Use the API instead when you need scheduling, batches, or idempotency keys.