-
git clone https://github.com/Roshan818/Email-Script.git
-
cd Email-Script
-
npm install
-
Note: Before running the script on your gmail id should allow login access in less secure app and change the smtp.
npm run start
Things to do before running the script:
- Enther the username and password of Techevince id provided to you.
- Add your email id in cc to check if the mails are reverted back or not.
- Set the Absolute path in
path
of the file to be sent and let the filename be same.
For allowing login access:
- Go to manage your account
- Go to security
- There will option to allow less secure app access
- Allow this, though disable after using the script.