File Upload class 3
Sending emails to users when an entry is created in DB
Steps:
Install nod emailer dependency using
npm i nodemailer
generate your email password By following these steps:
Go to your Gmail profile
Click on Manage your Google account
Click on Security
Now Go to 2 step verification
This 2-step verification sends an OTP on the registered mobile No.
Fill in the OTP and you see a password.
💡
IMP:- save this password to any safe folder. Once you create a password you will not be able to create it again
Now follow this code