Skip to content

Instantly share code, notes, and snippets.

@kgaughan
Created March 12, 2009 12:16
Show Gist options
  • Save kgaughan/78035 to your computer and use it in GitHub Desktop.
Save kgaughan/78035 to your computer and use it in GitHub Desktop.
import smtpd
import asyncore
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