I recently stumbled upon a user of dev.to, who wanted help in getting nodemailer to work with express. As a beginner sometimes all that documentation is a bit confusing and you only need that is required to get the thing going, so i thought i`d share this with you guys. I made a little github, hope it is helpful.
- Node and NPM
- Email Account with SMTP
From Command Line
git clone https://github.com/th3n00bc0d3r/Nodemailer-Express-Node
open app.js in your Editor and change smtp settings
You will need to initiate a GET Call to http://localhost:3000/send/mail or just open it in the browser that should work as well.