Skip to main content

Reloop Python SDK

Project description

Reloop Python SDK

Before you send

You need two things:

  1. API key — create one in your Reloop account
  2. Verified domain — add and verify a sending domain; use it in the from address

For setup details and the full API reference, see reloop.sh/docs.

Send email

pip install reloop-email
from reloop_email import Reloop

reloop = Reloop(api_key="rl_your_api_key_here")

result = reloop.mail.send(
    from_="Reloop <hello@your-verified-domain.com>",
    to="user@example.com",
    subject="Welcome to Reloop",
    html="<p>Thanks for signing up.</p>",
    text="Thanks for signing up.",
)

print(result.message_id, result.id)

Use from_ instead of from (from is reserved in Python).

More examples and optional fields: reloop.sh/docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reloop_email-1.8.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reloop_email-1.8.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file reloop_email-1.8.0.tar.gz.

File metadata

  • Download URL: reloop_email-1.8.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for reloop_email-1.8.0.tar.gz
Algorithm Hash digest
SHA256 dccb1398ba89b02b629b96f8e90f93d989f0a9002e61119bef222b84c23f0f3e
MD5 c12f8e93676e688cffa19528931df012
BLAKE2b-256 f7a6cd9715344fa5a37fe89108e4accd31374f70f3150c16c9196436ae43f663

See more details on using hashes here.

Provenance

The following attestation bundles were made for reloop_email-1.8.0.tar.gz:

Publisher: publish.yml on reloop-labs/reloop-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reloop_email-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: reloop_email-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for reloop_email-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d09acc3432eec7db2f0ebbcc16f7b86ab1984362677174be94ffa9833f884e3
MD5 d21674352edf37ccb174a166983d065b
BLAKE2b-256 02847bca9d2c29021bf4931b5404409ed0f76ddc813fe99fb94ebfe26c4bd2a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for reloop_email-1.8.0-py3-none-any.whl:

Publisher: publish.yml on reloop-labs/reloop-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page