/ Published in: Python
URL: http://ubuntuforums.org/showthread.php?t=1572903
See: http://docs.python.org/library/smtpd.html
You might use other port instead 25.
Expand |
Embed | Plain Text
#!/usr/bin/python import smtpd, asyncore server = smtpd.DebuggingServer(('localhost', 25), None) asyncore.loop()
You need to login to post a comment.
