-
-
Save AndrewPix/70bade805990867915cdf825c7d8879f 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