Jagannath8 / shopping

https://jagannath8.github.io/shopping/
4 stars 11 forks source link

Create Design Report an Issue page #57

Closed comnk closed 2 years ago

comnk commented 2 years ago

Includes the page with working functionality of sending html responses to email

Need to create a temp gmail email and password in order to protect information, and also run Flask on the IP address of 127.0.0.1 in order to work correctly

Will update if anything else is needed

Jagannath8 commented 2 years ago

@comnk When we send some issue it shows internal server error Check once! image

comnk commented 2 years ago

did you insert into the required fields in the flask program?

comnk commented 2 years ago

the os.environ.get lines in app.py

comnk commented 2 years ago

it actually has to be a real gmail account with password

comnk commented 2 years ago

ps less secure apps setting on gmail has to be on

comnk commented 2 years ago

are you fine with using gmail api (includes getting gcp free tier)?

comnk commented 2 years ago

or other api instead of smtp

Jagannath8 commented 2 years ago

are you fine with using gmail api (includes getting gcp free tier)?

Okay @comnk Try for it

comnk commented 2 years ago

can I just submit the html and the css only for now?

comnk commented 2 years ago

i'll need to create a virtual environment to install the Gmail API library

comnk commented 2 years ago

Do you have 2 factor authentication on for your gmail? You can create an app password for the Flask script

comnk commented 2 years ago

so I can remove my email and password

comnk commented 2 years ago

https://towardsdatascience.com/automate-sending-emails-with-gmail-in-python-449cc0c3c317

comnk commented 2 years ago

as reference, but only two factor part because python examples are outdated

Jagannath8 commented 2 years ago

@comnk Do fill this form https://docs.google.com/forms/d/e/1FAIpQLSeHqAaYHdWPfzRdkdmEwCmM7YK6VLl-otseD0fQr3rFDget5w/viewform?usp=sf_link