Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smtp_faker

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smtp_faker

SMTP Faker -- smtp server for development

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

========== SMTP Faker

SMTP server for development.


Installation

Just PIP:

.. code:: bash

$ pip install smtp-faker
$ smtp-faker --http=localhost:8080 --smtp=0.0.0.0:8025

Or Docker:

.. code:: bash

$ docker run --rm -it -p 8080:80 -p 8025:25 --name smtp-faker zzzsochi/smtp-faker

Send test messages

.. code:: bash

$ python3 -m smtp_faker.test N
$ python3 -m smtp_faker.test HOST:PORT N

.. code:: bash

$ python3 -m smtp_faker.test localhost:8025 10

.. code:: bash

$ docker exec -it smtp-faker python3 -m smtp_faker.test 10

API

URLs

  • GET /messages
  • GET /messages/:id
  • GET /messages/:id/plain
  • GET /messages/:id/html
  • GET /messages/:id/raw
  • /ws .. * POST /messages/:id/forward

Message object

:id: str :ts: ISO-date timestamp :size: int, size in bytes :headers: message headers

:From: sender address
:To: recievers
:Subject: message subject

...and other headers.

Keywords

FAQs


Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc