May 4, 2011
Archive

Python SMTP debugging server

Note to self: this is how you start a python SMTP debugging server:

python -m smtpd -n -c DebuggingServer localhost:25

Parand Tony Darugar

This debugging server will not deliver any messages sent via it, but will instead output them stdout, bracketed by the following lines:

---------- MESSAGE FOLLOWS ----------
------------ END MESSAGE ------------

Blog comments powered by Disqus

About
@adurdin is thinking aloud Subscribe via RSS.