Skip to main content

Python Client for the Mailinator Email System

Project description

Python Client for the Mailinator Email System


  1. Creating a client:

    from mailinator.client import MailinatorClient
    client = MailinatorClient('token here')
  2. Getting all domains:

    from mailinator.domain.interface import DomainsInterface
    domains_interface = DomainsInterface()
    domains = client.request(domains_interface)
    for d in domains:
  3. Get a single domain (by id):

    from mailinator.domain.interface import DomainInterface
    domain_interface = DomainInterface(domain_id='')
    domain = client.request(domain_interface)
  4. Get an inbox:

    from mailinator.message.interface import InboxInterface
    inbox_interface = InboxInterface(domain_id='', inbox_id='test')
    inbox = client.request(inbox_interface)
    for msg in inbox.msgs:

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

mailinator-python-client-0.0.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

mailinator_python_client-0.0.1-py3-none-any.whl (20.4 kB view hashes)

Uploaded Python 3

Supported by

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