Home > Net >  Google disabled access to less secure apps
Google disabled access to less secure apps

Time:06-10

With google having disabled the access to enable access to less secure apps can anyone suggest ways in which I can send mails using flask-mail? It has to be disabled in the mail account I'm using to send mails using flask-mail.No option to enable or disable

CodePudding user response:

If your problem is about google security you can use app password instead of your account password in MAIL_PASSWORD configuration, To do that you should enable 2-step verification in your Google Account and then use app password, So go to your Google Account,

Security

Signing in to Google

Enable 2-step verification

App password

Make app password and use it as your MAIL_PASSWORD

In link below you can see other options

https://support.google.com/accounts/answer/6010255?hl=en&utm_source=google-account&utm_medium=profile-less-secure-apps-card

CodePudding user response:

  • so you need to set up the App Password from setting.

  • This video shows how to set up App Password = link.

  • Related