Skip to main content

An SMTP server that makes all received mails accessible via a web interface and REST API.

Project description

MailDump is a python-based clone of the awesome MailCatcher tool. Its purpose is to provide developers a way to let applications send emails without actual emails being sent to anyone. Additionally lazy developers might prefer this over a real SMTP server simply for the sake of it being much easier and faster to set up.

Features

Since the goal of this project is to have the same features as MailCatcher I suggest you to read its readme instead.

However, there is one unique feature in MailDump: Password protection for the web interface. If your MailDump instance is listening on a public IP you might not want your whole company to have access to it. Instead you can use an Apache-style htpasswd file. I have tested it with SHA-encrypted passwords but you can use any encryption supported by passlib.apache.

Usage

After installing maildump, run maildump --help for a list of available command line arguments. By default maildump runs its webserver on port 1080 and its SMTP server on port 1025 (both only available via localhost). Unless you specify a database file, received mails are lost when maildump terminates.

Credits

The layout of the web interface has been taken from MailCatcher. No Copy&Paste involved - I rewrote the SASS/Compass stylesheet from MailCatcher in SCSS as there is a pure-python implementation of SCSS available. If whoever reads this feels like creating a new layout that looks as good or even better feel free to send a pull request. I’d actually prefer a layout that differs from MailCatcher at least a little bit but I’m somewhat bad at creating layouts!

The icon was created by Tobia Crivellari.

License

Copyright © 2013-2020 Adrian Mönnich (adrian@planetcoding.net). Released under the MIT License, see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

maildump-1.1.1-py3-none-any.whl (410.7 kB view details)

Uploaded Python 3

File details

Details for the file maildump-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: maildump-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 410.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for maildump-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e6a0b76ea19406f167a3f5ef6c6699508b6a03c886356c3bc02d5d55801655b
MD5 dc82f19d4c83aa6a95df53d4d6b92426
BLAKE2b-256 2a9f822095787a31fe57aa7bae7c0e6b34eb45dffd18c26ae3635b1d4f139dea

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