Skip to main content

Simple SMTP Server for debugging

Project description

dsmtpd is a small tool to help the developer without an smtp server

Usage

$ dsmtpd --port 1025 --host 127.0.0.1
2013-01-13 14:00:07,346 INFO: Starting SMTP server at 127.0.0.1:1025

Installation

For the installation, we recommend to use a virtualenv, it’s the easy way if you want to discover this package:

virtualenv ~/.envs/dsmtpd

pip install dsmtpd

Documentation

Execute dsmtpd with the –help flag and you will get the usage of this command:

dsmtpd --help

There are two options:

  • –port You specify the port of dsmtpd (default is 1025)

  • –iface You specify the network interface (default is loopback, 127.0.0.1)

Use it

Here is a small example:

dsmtpd

swaks --from stephane@wirtel.be --to foo@bar.com  --server localhost --port 1025

Contributing

git clone git://github.com/matrixise/dsmtpd.git

Copyright 2013 (c) by Stephane Wirtel

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

dsmtpd-0.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page