kootenpv / yagmail

Send email in Python conveniently for gmail using yagmail
MIT License
2.64k stars 263 forks source link

Yagmail authentication besides pwd and email #227

Open Mootbing opened 2 years ago

Mootbing commented 2 years ago

Hi, Is there a way to authenticate to yagmail without the use of username and password? Because the "less secure app access" feature will be deprecated starting May 30th.

kootenpv commented 2 years ago

the best way to do it is to set up an application-specific password which you can give certain rights

Mootbing commented 2 years ago

is there Oauth for google? and if so how do I use it?

kootenpv commented 2 years ago

not sure that works anymore, i'd recommend the above

Mootbing commented 2 years ago

ok ill try ty