mail
Send email message
Send email message
Servers
| Host | Region |
|---|---|
| https://api.turbo-smtp.com/api/v2 | Global (default) |
| https://api.eu.turbo-smtp.com/api/v2 | European infrastructure — use for EU data residency |
Notes:
- ConsumerKey / ConsumerSecret headers should be used. This endpoint does not support Authorization header
- Switch between samples to learn about advanced features such as using attachments, custom headers like reply-to address, tracking, embeded images and others.
Limitations:
- The total size of your email, including attachments, must be less than 24MB.
post/mail/send
Request body
Example request
{
"attachments": [
{
"content": "dXBsb2FkZXIxQGdtYWlsLmNvbQ0KdXBsb2FkZXIyQGdtYWlsLmNvbQ0KYWJjMQ==",
"name": "email.ico",
"type": "image/gif"
}
]
}Response
Sucess
Turbo-SMTP successfully received your message.
Example response
{
"message": "OK",
"mid": 1688566310828572700
}