Answer the question
In order to leave comments, you need to log in
Is it possible to log into gmail via Python without the "Access for dubious applications" checkbox?
I tried using smtplib to log into gmail mail, but I wrote an error:
smtplib.SMTPServerDisconnected: Connection unexpectedly closed
Later, in my account settings, I turned on the Access for dubious applications checkbox. And it worked, but in the future I will need to go to a different account. Can I log into my account without this checkbox?
Maybe I didn't explain well, but I'll be glad to answer
Answer the question
In order to leave comments, you need to log in
https://support.google.com/a/answer/6260879?hl=en#...
Any other application Ask the application developer to add OAuth 2.0 support to the application.
https://developers.google.com/gmail/imap/xoauth2-p...
and ready solution
https://blog.macuyiko.com/post/2016/how-to-send-ht...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question