Sometimes, you need to send email during software development, and you need to be able to receive the email, even if the addresses are fake (say, to @example.org) and what have you.
The node package,
fake-smtp-server is a handy tool for providing a server to receive the mail, and an interface for viewing the email that was sent.
Install globally on a system with:
npm install -g fake-smtp-server
Start it up:
If you want to have it on port 25 as most mail servers expect, run as root:
sudo fake-smtp-server -s 25
View the emails received (by default) at
You can change that port, too:
sudo fake-smtp-server -h 8888
A few other configurations, and an API. Great little tool.