Skip to content

Instantly share code, notes, and snippets.

@miratcan
Created March 24, 2011 06:03
Show Gist options
  • Save miratcan/884648 to your computer and use it in GitHub Desktop.
Save miratcan/884648 to your computer and use it in GitHub Desktop.
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