Dummy smtp server in Python for testing
sudo python -m smtpd -n -c DebuggingServer localhost:25
The sudo is needed as you can’t bind to a port number lower than 1024 as a normal user.
Source: http://www.euperia.com/development/test-smtp-with-a-dummy-server-in-python/460
Comments
Comments powered by Disqus