kootenpv / yagmail

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

input for oauth2 file is not very user friendly #199

Open dethwalker opened 3 years ago

dethwalker commented 3 years ago

Please excuse me for this. I don't want it to sound offensive or anything. Just feedback. Using getpass.getpass() in the oauth2.py file for input for the email, ID and secret is confusing because I cannot see what I am writing. I tried entering information like 10 times and each time I entered something wrong. I changed it to input() and everything worked perfectly(so I was the problem yes). Anyway I don't think it is really needed, the input is not like a password.

kootenpv commented 3 years ago

Great suggestion, I guess only the secret should be getpass.

Feel free to make a PR, I'll gladly accept it.

In any case thanks a lot for taking the time to post the issue!