Skip to main content

Python client for KinetiMail service.

Project description

kinetimail client

A Python client for interacting with the KinetiMail API service.

Installation

pip install kinetimail

Basic Usage

from kinetimail import KinetiMail

# Setup client
client = KinetiMail(api_key="your_api_key")

# Create a new inbox
client.create_inbox(email_address="john-doe@free.kinetimail.com", name="John Doe")

# Send message
client.send_message(
    from_address="john-doe@free.kinetimail.com",
    to_address="your-address@example.com",
    subject=f'Hello!',
    body='Hey, how are you?'
)

# List messages
client.list_messages(email_address="john-doe@free.kinetimail.com")

# Read a specifc message
client.get_message(
    email_address="john-doe@free.kinetimail.com",
    message_id="<message_id>"
)

Advanced Usage

# Create a custom domain
client.create_domain(domain="yourdomain.com")

# Initiate verification of domain after DNS setup
client.verify_domain(domain="yourdomain.com")

# Create inbox on your domain after verification
client.create_inbox(email_address="sales@yourdomain.com", name="Sales Team")

# List all domains
client.list_domains()

# Get a domain
client.get_domain(domain="yourdomain.com")

# Delete a domain
client.delete_domain(domain="yourdomain.com")

License

MIT License

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

kinetimail-0.1.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

kinetimail-0.1.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file kinetimail-0.1.2.tar.gz.

File metadata

  • Download URL: kinetimail-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for kinetimail-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ec1d8f58472a6e1bdb9692ea9ea9a485fafcf0e7ef88a227c58abceae98148b8
MD5 bef3e372032847cac911dc9b6fe6a056
BLAKE2b-256 4ef2de985785187a78ee23930bf7c16b708eff5bc0af9a522dd927f82717ba7a

See more details on using hashes here.

File details

Details for the file kinetimail-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: kinetimail-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for kinetimail-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc6f6591b830c29929941f63be17e91db956b76f9fda9a1636b03a74f5033121
MD5 3eb25dbfd90cdff843795b628482e50f
BLAKE2b-256 2745524292b0ca330827939e6bac2c8176dd614df1ff85c99b9c1d32ea585354

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