Closed tomnewg closed 2 years ago
Just to add, I did try to add an "App password" but I still get the same error.
@tomnewg just set up the app password in google account security and replace the old email password with the app password (a long sequence of letters, do not forget to copy it before close the window!) in your code, then it works fine now in yagmail. During the app password setup, make sure the app you selected is mail, also the device you selected matches the machine on which your code is running (e.g. window computer). I hope this helps!
Hi all,
gmail has disabled the "Less secure apps" functionality. Therefore yagmail is not working anymore for gmail. Is there a way around it? Does yagmail need an upgrade or will it just not be possible going forward to use yagmail for gmail accounts?
Many thanks for your help
Tom