Send an email over SMTP
Prefer SMTP or already have an MTA / framework mailer? Relay through Routee using the same Connect application credentials — messages appear in the same delivery logs as the HTTP API.
Get your credentials firstFollow Email API - Find your SMTP credentials to locate your Application Id and Application Secret.
Connection settings
| Setting | Value |
|---|---|
| SMTP server | smtp10.amdtelecom.net |
| Port | 25 (or 587) |
| Username | your Application Id |
| Password | your Application Secret |
| Encryption | STARTTLS (issue STARTTLS before authenticating on port 25) |
| Auth methods | BASIC, LOGIN |
The From address must be a verified authorized sender on a verified domain.
Example — Python
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
msg = MIMEMultipart("alternative")
msg["From"] = "Acme Support <[email protected]>"
msg["To"] = "[email protected]"
msg["Subject"] = "Your order is confirmed"
msg.attach(MIMEText("Thank you for your order, Jane.", "plain"))
msg.attach(MIMEText("<p>Thank you for your order, Jane.</p>", "html"))
with smtplib.SMTP("smtp10.amdtelecom.net", 587) as server:
server.starttls()
server.login("YOUR_APPLICATION_ID", "YOUR_APPLICATION_SECRET")
server.send_message(msg)Example — swaks (CLI test)
swaks \
--server smtp10.amdtelecom.net:587 \
--tls \
--auth-user 'YOUR_APPLICATION_ID' \
--auth-password 'YOUR_APPLICATION_SECRET' \
--from '[email protected]' \
--to '[email protected]' \
--header 'Subject: Your order is confirmed' \
--body 'Thank you for your order, Jane.'
HTTP vs SMTPNot sure which to use? See Email — HTTP API vs SMTP relay. Delivery tracking works the same for both paths.

