I'm using node.js on my debian box at home. I want to build a function in my web app that will send an email -- what's the easiest way to setup my home debian server to send emails?
The production webhost will already have email configured, I just need it working locally for testing.
I haven't done this in a while, but https://github.com/niftylettuce/node-email-templates is worth checking out. You can also browse npm for the keyword 'email': https://npmjs.org/browse/keyword/email. I see at least one sendmail wrapper, that's about as simple as you can get on a Linux box.
I recommend Nodemailer. It supports configuration of various transports that makes it easy to switch between a development enviroment and a production server.