gmail - how to send email with google app accounts using python smtplib? -


i know how send email using python smtplib normal google account. when try send email business account, e.g. yu@mycompany.com, doesn't work because cannot set "less secure app access" here

https://www.google.com/settings/security/lesssecureapps

it said “this setting not available google apps accounts.”

any suggestions guys?

thank you!

you can use google's 'app passwords' feature. means can generate separate password application , use application.

this feature invented prevent compromising primary password.

see answer here.

you may try direct link if work manage passwords.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -