How to use:
- Clone this repository
- Go to
autoforward-email-whatsapp
directory - Run
npm install
- Create file
.env
and write the following lines
SENDER="<BOT-EMAIL@ADDRESS>"
PASS="<BOT-EMAIL-PASSWORD>"
RECEIVER="<MAIN-EMAIL@ADDRESS>"
- Set up your email security to allow this program to get access to your email (this repository using Gmail as BOT email).
- Go to Security
- Turn off 2-step Verification
- Turn on Less secure app access
- Modify code in 'node_modules\whatsapp-web.js\src\util\Injected.js' find
window.Store.getProfilePicFull = window.mR.findModule('getProfilePicFull')[0].getProfilePicFull
and command on the line contain that code - Run command
npm start
- Scan the QR Code shown in terminal
- Finish!