Send pdf of the webpage https://www.pcoptimum.ca/offers to an email using your provided smpt provider
-
Set up virutal env:
python3 -m venv venv
source venv/bin/activate
-
Set up environment variables:
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 toSMTP_PORT
email server portSMTP_SERVER
smtp server name
-
Run with
python3 main.py <pcoptimum.ca username> <pcoptimum.ca password>