Skip to main content

Python SDK

Official Python client for the Mailofly REST API. Package: mailofly · Requires: Python 3.9+ · Quickstart: Python

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