[code.view]

[top] / python / PyMOTW / smtpd / smtpd_debug.py

     #!/usr/bin/env python
     # encoding: utf-8
     #
     # Copyright (c) 2008 Doug Hellmann All rights reserved.
     #
     """
     """
     
     __version__ = "$Id$"
     #end_pymotw_header
     
     import smtpd
     import asyncore
     
     server = smtpd.DebuggingServer(('127.0.0.1', 1025), None)
     
     asyncore.loop()
     

[top] / python / PyMOTW / smtpd / smtpd_debug.py

contact | logmethods.com