Skip to main content

Python client for the ZeptoMail API

Project description

📧 ZeptoMail Python API

PyPI version Python Versions License Downloads

A Python client for interacting with the ZeptoMail API.

⚡ Installation

pip install zeptomail-python-api

Or with uv:

uv pip install zeptomail-python-api

🚀 Usage

from zeptomail import ZeptoMail

# Initialize the client
client = ZeptoMail("your-api-key-here")

# Create a recipient
recipient = client.add_recipient("recipient@example.com", "Recipient Name")

# Send a simple email
response = client.send_email(
    from_address="sender@example.com",
    from_name="Sender Name",
    to=[recipient],
    subject="Test Email from ZeptoMail Python API",
    html_body="<h1>Hello World!</h1><p>This is a test email sent using the ZeptoMail Python API.</p>",
    text_body="Hello World! This is a test email sent using the ZeptoMail Python API."
)

print(f"Response: {response}")

✨ Features

  • 📨 Send single emails
  • 📊 Send batch emails with personalization
  • 📎 Add attachments and inline images
  • ⚙️ Customize MIME headers
  • 🔍 Detailed error handling with solutions

📝 License

MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

🔒 Security

For security issues, please email security@zeptomail.eu instead of using the issue tracker.

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

zeptomail_python_api-0.1.0.tar.gz (65.2 kB view details)

Uploaded Source

Built Distribution

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

zeptomail_python_api-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file zeptomail_python_api-0.1.0.tar.gz.

File metadata

  • Download URL: zeptomail_python_api-0.1.0.tar.gz
  • Upload date:
  • Size: 65.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.15

File hashes

Hashes for zeptomail_python_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 917541541834377128e509615b979074a36b5011c1cb36401a62a8503f84cd68
MD5 3cced13164c12b40b4b82966b301f148
BLAKE2b-256 6ae7f2a027a177cf49ab51193008deb29300f4747966e6dc4a4cc8d086c90224

See more details on using hashes here.

File details

Details for the file zeptomail_python_api-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zeptomail_python_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5ae1c97fd6900f365db8bcc9b8236e40f55a9300a85e4244456114357e92e82
MD5 53de021cb3e34589b96951778eab1790
BLAKE2b-256 0a89554ae565622b832deeef6097dbba27360ba59c16a3ffec8991c2831c4198

See more details on using hashes here.

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