Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 683 Bytes

File metadata and controls

27 lines (25 loc) · 683 Bytes

Automatic-Mail

The express server uses nodemon pakage to send automatic mail
Modules Used
express
ejs
nodemailer
body-parser
dotenv
for a quick start in install the required pakages for that enter

npm install

in console
create a .env file in the project directory with

EMAIL:youremail  
PASSWORD:password

If you are using email as a service provider your email account musy be less secued for that check this video https://youtu.be/FVi-m1qmJD0 after setting up for spinning up the server enter

node app.js

in the console. For additional information refer to the nodemailer documentation https://nodemailer.com/about/