Quickstarts
Send with Python
Use the official Python SDK.
1. Install
pip install resend2. Point the SDK at Postwave
RESEND_API_URL=https://postwaves.online3. Send an email
import os
import resend
resend.api_key = os.environ["API_KEY"]
email = resend.Emails.send({
"from": "Acme <onboarding@yourdomain.com>",
"to": ["delivered@postwave.test"],
"subject": "Hello world",
"html": "<strong>It works!</strong>",
})
print(email)4. Run it
API_KEY=pw_xxxxxxxxx python send.pyYou'll get back { "id": "…" }. Open Emails in the dashboard to see it arrive and its delivery status update.
Tip: delivered@postwave.test is a test address: it simulates a delivery without emailing anyone. Swap in a real address when you're ready.
Was this page helpful?Send feedback