Note repo is depratated: Use this instead https://github.com/aagavin/py-pc-optimum
==============================================================================================
Send pdf of the webpage https://www.pcoptimum.ca/offers to an email using your provided smpt provider
-
run
npm ci
-
Setup the following envernment varables
E_USERNAME
email server usernameE_PASSWORD
email server password (Should be application specific)E_FROM
email to use as the FROM feild in the emailE_TO
email your sending the email to
-
Run using
npm run start-local <pcoptimum.ca username> <pcoptimum.ca password>
eg.
npm run start-local email@example.ca hunter2
- Setup the envernment varables up as outlined in the Setup locally section
- Build using
npm run build
- run using
npm run start <pcoptimum.ca username> <pcoptimum.ca password>
eg.
npm run start email@example.ca hunter2