Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reclosedev/lathermail_client

Python API client for lathermail SMTP server
https://github.com/reclosedev/lathermail_client

client python test-automation

Last synced: about 1 month ago
JSON representation

Python API client for lathermail SMTP server

Awesome Lists containing this project

README

        

.. image:: https://travis-ci.org/reclosedev/lathermail_client.svg?branch=master
:target: https://travis-ci.org/reclosedev/lathermail_client

.. image:: https://coveralls.io/repos/reclosedev/lathermail_client/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/reclosedev/lathermail_client?branch=master

lathermail_client
=================

Python API client for `lathermail `_ SMTP server.

Usage:

.. code-block:: python

from lathermail_client import LathermailClient

user, password = "user", "password"
url = "http://127.0.0.0:5000/"

client = LathermailClient(user, password, url)
print(client.get_inboxes())
print(client.get_messages(recipients_address="[email protected]"))
print(client.get_single_message("some_id"))