semvec/pypi-packages huggingface dataset:
smtp4dev 0.1.4
Provides access to emails caught by the SMTP4dev development server
Requires Python: >=3.6

# SMTP4DEV

An abstraction library to access the messages captured by an
[SMTP4dev](https://github.com/rnwood/smtp4dev/) instance.


## Installation

Install with pip:

```
pip install smtp4dev
```

## Usage

Example usage:

```py
from smtp4dev import Smtp4Dev
client = Smtp4Dev('http://localhost:8080')
messages = client.list_messages()
email = client.get_message(next(messages))
print(email)
"[From: romeo@email.com To: juliet@email.com Subject: Meeting Friday night]"
```