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.
Metadata
Release files for smtp_faker 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smtp_faker-0.1.2.tar.gz | 8.8 kB | Without provenance | Details for smtp_faker-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smtp_faker-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for smtp_faker-0.1.2-py3-none-any.whl |
Total release size: 19.8 kB
Release files / smtp_faker-0.1.2.tar.gz
| Download URL | smtp_faker-0.1.2.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87673d639fcd21e65cd2d60d7b4f86b627c45e097943570d411329d53a4f8720
|
|
BLAKE2b-256 checksum How to use checksums |
90be591bda57cab1f650476ff4e6b13c7432750d74ee5110b3aefa8f488f6861
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Release files / smtp_faker-0.1.2-py3-none-any.whl
| Download URL | smtp_faker-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc9e5320e4fa6217c1cde3a846198242beeca98ac35c8c6e7b56f5b9f73e1930
|
|
BLAKE2b-256 checksum How to use checksums |
ccd45628ef95a2eda846de0fb7e404040dcaac078520b49eac919f667ac64652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for smtp_faker 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.