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>",
from_email="no-reply@yourdomain.com",
from_name="Your App"
)
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.0.tar.gz
(3.3 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.0.tar.gz.
File metadata
- Download URL: openmail_sdk-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
521a0f991262f33e564f01d51d0ece70f741502266dddccc2c26e6844e3bd8d5
|
|
| MD5 |
ecd18ad97aa41bbd9ebe939c0208a4a8
|
|
| BLAKE2b-256 |
d49a1709d11b315d796adabce438d39d2882c151400bf9a27a27ffd6a10913a9
|
File details
Details for the file openmail_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: openmail_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.4 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 |
0587c931558e87aa9e0d4ddf20051010e33f673c388e24defea794e7785d4241
|
|
| MD5 |
9e1fb9791928206b0819f376de7882d1
|
|
| BLAKE2b-256 |
1985af8f5c0af46ba846b6d12efe9c1470bbc88b97c3f01f3be5a6606660672b
|