Open akhil0305 opened 2 years ago
Nice
After enabling 'Allow less secure App to access..', i get an below error, any suggestion
b'[ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Yes this happened with me also that's why I used Gmail API check out this issue #76
Code for fetching otp from email is as below. Note : There is no problem of token expiry as you are not using Gmail API.
Before running the code enable permission for less secure apps for your google account using the below link. https://myaccount.google.com/lesssecureapps
Code: