Socket
Socket
Sign inDemoInstall

smtp4dev

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    smtp4dev

Provides access to emails caught by the SMTP4dev development server


Maintainers
1

Readme

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]"

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc