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

Email notification in google apps script -

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

javascript - IE11 incompatibility with jQuery's 'readonly'? -