Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

plentific/smtp4devpy

Repository files navigation

SMTP4DEV

An abstraction library to access the messages captured by an SMTP4dev instance.

Installation

Install with pip:

pip install smtp4dev

Usage

Example usage:

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

About

Library to access SMTP4dev's messages

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages