curl -X POST https://api.nextmail.sh/emails \ -H "Authorization: Bearer $NEXTMAIL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "from": "Acme Billing <[email protected]>", "to": ["[email protected]"], "subject": "Your September invoice", "html": "<p>The invoice is attached.</p>" }'Write one call.
Anything that speaks HTTP can send. TypeScript, Python, Ruby, PHP, Go, Java and C# get typed clients, and every message reports back as it is queued, sent and delivered.
Read the docs: Write one call.

