Created
July 26, 2014 15:45
-
-
Save akadan47/4363590234cdbd937e7c to your computer and use it in GitHub Desktop.
One line SMTP python server
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
# Start simple SMTP server on localhost:25 and print to standard output all email headers and the email body. | |
# Useful for debugging outgoing mail without configuring SMTP daemon in development enviroment. | |
python -m smtpd -n -c DebuggingServer localhost:25 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment