Documentation
Send email by language.
One page for each way to call the Mailtruss API: install, send, verify webhooks and handle errors, in that language's own terms.
Pick a language
Every client library covers the whole API and sends the same request, so you can move between them. Each page below has the library's own install command, a send with an idempotency key, the webhook signature check and its error type.
- Send email in Node.jsNode 18 or newer, Bun, Deno and edge runtimes (it uses
fetch). No dependencies. - Send email in PythonPython 3.9 or newer. No dependencies.
- Send email in GoGo 1.21 or newer, standard library only.
- Send email in PHPPHP 8.1 or newer. No required dependencies.
- Send email in RubyRuby 3.0 or newer, standard library only.
- Send email in JavaJava 17 or newer. No dependencies beyond the JDK.
- Send email in .NET.NET 8 or newer. No dependencies.
- Send email in curl and HTTPAny language that can make an HTTPS request.
New to Mailtruss? The quickstart takes you from sign-up to a first email, and the API reference lists every endpoint.