Learn how to send your first email using the Resend Python SDK.
pip install resend
html
import os import resend resend.api_key = os.environ["RESEND_API_KEY"] params: resend.Emails.SendParams = { "from": "Acme <onboarding@resend.dev>", "to": ["delivered@resend.dev"], "subject": "hello world", "html": "<strong>it works!</strong>", } email = resend.Emails.send(params) print(email)
Was this page helpful?