5 ms·
I also love using Python's integrated SMTP server. python -m smtpd -n -c DebuggingServer localhost:25 This will just spit out the raw email. Edit: you need
by bluepostit 14y ago
I also love using Python's integrated SMTP server.
python -m smtpd -n -c DebuggingServer localhost:25
This will just spit out the raw email.
Edit: you need root permission to listen on port 25. Otherwise you can use a different port > 1024.
- yehanyin 14y agoCool, :) So you start a smtpd to catch your mails and do the test. That's also how MailCatcher(http://mailcatcher.me http://mailcatcher.me) works. If it's fine to start a smtpd, it's a good choice too!
- bluepostit 14y agoDidn't even think of searching for such application! It sure is great to be able to have an inbox-like view.