Developer friendly Python SDK for OpenMail
Project description
OpenMail Python SDK
A lightweight, developer-friendly SDK for OpenMail.
Install
pip install openmail-sdk
Quick Start
from openmail import OpenMailClient
client = OpenMailClient(
api_key="your_api_key",
token_url="https://openmail.openproject.co.zw/r/your_token"
)
response = client.send_email(
to_email="user@example.com",
subject="Hello from OpenMail",
type="html",
body="<h1>Hello</h1><p>Welcome.</p>"
)
print(response)
Core Inputs
api_keytoken_url
These are the only required values to initialize the SDK client.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openmail_sdk-1.0.1.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openmail_sdk-1.0.1.tar.gz.
File metadata
- Download URL: openmail_sdk-1.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b856c01739b58daa2917785fbf9df465998f0a2fe831020ca4eaee72daf9be9
|
|
| MD5 |
edf65734b2c7ff18f2bf53939b4c8242
|
|
| BLAKE2b-256 |
e7d71b0371072453be17e8c19d3f56c4ca85aebd72a78c5dbe741dc271e1009d
|
File details
Details for the file openmail_sdk-1.0.1-py3-none-any.whl.
File metadata
- Download URL: openmail_sdk-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
386f538cc07d67441611069207c4c921b3c1463b40a62fb01e7361b06f7527b4
|
|
| MD5 |
e035229451981492cd24981e7f6c295d
|
|
| BLAKE2b-256 |
896a8f4e936a75d32d8cccabb291f3bdd72ed589dbe9af253658f8d45d200055
|