Integrate with Reloop using Python
Official Python SDK for Reloop. A few lines of code to send production email.
Install
bash
pip install reloop-emailSend email
send_email.py
1import os2from reloop_email import Reloop3
4reloop = Reloop(api_key=os.environ["RELOOP_API_KEY"])5
6params = {7 "from": "Acme <onboarding@yourdomain.com>",8 "to": ["delivered@yourdomain.com"],9 "subject": "Hello from Python",10 "html": "<strong>It works!</strong>",11}12
13result = reloop.mail.send(params)14
15if result.email_error:16 raise result.email_error17
18print(f"Email sent: {result.response['id']}")Popular Python integrations
Send with Python.
Get an API key, verify your domain, and ship transactional email in minutes.