Hello Viewer,
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.
Required
- Node and NPM
- Email Account with SMTP
Github: https://github.com/th3n00bc0d3r/Nodemailer-Express-Node
From Command Line
`
git clone https://github.com/th3n00bc0d3r/Nodemailer-Express-Node
cd Nodemailer-Express-Node
npm install
open app.js in your Editor and change smtp settings
node app.js
`
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.
Top comments (2)
Hi, I removed the #beginners tag. The tag should be for devs on the 0-2/10 scale. You can check the updated guidelines for the tag here :
Updated #beginner Tag Guidelines
Jason C. McDonald ・ Aug 2 ・ 4 min read
Thanks, dont worry, i am just new to this, i
ll get used to it. I
ll go through this.Regards