Created
June 9, 2011 14:58
-
-
Save krisfoster/1016894 to your computer and use it in GitHub Desktop.
Mock out an SMTP Mail Server - Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copied from a blog... but I have lost the link to it | |
HOST=localhost | |
PORT=25 | |
python -m smtpd -n -c DebuggingServer ${HOST}:${PORT} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment