Skip to main content

Provides access to emails caught by the SMTP4dev development server

Project description

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: romeo@email.com To: juliet@email.com Subject: Meeting Friday night]"

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

smtp4dev-0.1.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

smtp4dev-0.1.4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file smtp4dev-0.1.4.tar.gz.

File metadata

  • Download URL: smtp4dev-0.1.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0

File hashes

Hashes for smtp4dev-0.1.4.tar.gz
Algorithm Hash digest
SHA256 31eb13f600ea013c4960e1f41fbd8463b2f1329b930d9a7fcd48c13161d8e737
MD5 60383f88d75325ac36549dd15884e78f
BLAKE2b-256 c68cc6faebca14e365cdeacd5311e06a19dfceac8d8793b6faf324402211a484

See more details on using hashes here.

File details

Details for the file smtp4dev-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: smtp4dev-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0

File hashes

Hashes for smtp4dev-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f26864398716160a92fa1a2ffed11a2fbf587631730ee4b2a9b3bc30c7573008
MD5 c971638d93860f8c89daeb7e17621c53
BLAKE2b-256 88bee740dba490f14f6c9ad1c70a8ec14766a749bb4170e19bef8bfd991f547d

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