Skip to main content

Go SDK

Official Go client for the Mailofly REST API. Module: github.com/teamredevs/mailofly-go · Requires: Go 1.22+ · Quickstart: Go

Install


Initialize

Create an API key under API keys first.

Send email

With a saved template

client.Compose.Send is deprecated and forwards to /v1/emails.

Batch send (up to 100 emails)


Resources

Examples


Discovery (no API key)


Error handling