Node-mailer
Install dependencies before starting server
Code to install modules: npm install [package name] --save
Modules used: nodemailer, body-parser, expressjs, multer
-
nodemailer - Modeule for node.js to send emails.
-
body-parser − This is a node.js middleware for handling JSON, Raw, Text and URL encoded form data.
-
multer − This is a node.js middleware for handling multipart/form-data.
-
Express - Allows to set up middlewares to respond to HTTP Requests, defines a routing table which is used to perform different actions based on HTTP Method and URL, allows to dynamically render HTML Pages based on passing arguments to templates.