Skip to content

Instantly share code, notes, and snippets.

@dstarh
Created December 21, 2012 14:06
Show Gist options
  • Save dstarh/4353040 to your computer and use it in GitHub Desktop.
Save dstarh/4353040 to your computer and use it in GitHub Desktop.
python simple debugging smtp server
import smtpd
import asyncore
server = smtpd.DebuggingServer(('127.0.0.1', 1025), None)
asyncore.loop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment