/ Published in: Python
See: http://docs.python.org/library/smtpd.html
You might use other port instead 25.
You might use other port instead 25.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/usr/bin/python import smtpd, asyncore server = smtpd.DebuggingServer(('localhost', 25), None) asyncore.loop()
URL: http://ubuntuforums.org/showthread.php?t=1572903