djangosnippets.org: Latest snippets tagged with 'debuggingserver'http://djangosnippets.org/tags/debuggingserver/2014-07-25T19:19:20.221144-05:00One line SMTP sink server
2014-07-25T19:19:20.221144-05:00Baguagehttp://djangosnippets.org/snippets/3085/<p>Start simple SMTP server on localhost:25 and print to standard output all email headers and the email body. Useful for debugging outgoing mail without configuring SMTP daemon in development enviroment.</p>
Freely redistributableBetter debugging mail server
2011-02-21T09:38:53.470202-06:00yourcelfhttp://djangosnippets.org/snippets/2367/<p>Python includes (and <a href="http://docs.djangoproject.com/en/dev/topics/email/?from=olddocs#testing-e-mail-sending">Django recommends</a>) a simple email debugging server which prints mail to stdout. The trouble is, unlike any half-competent mail reader, long lines are broken up, and thus long URLs don't work without modification.</p>
<p>This snippet simply unwraps long lines (broken by "=") so long URLs can …</p>
Freely redistributable