Sending and email using python - Problem causes by last Google policy update (on less secure apps)

 https://stackoverflow.com/questions/72478573/sending-and-email-using-python-problem-causes-by-last-google-policy-update-on?fbclid=IwAR1N--0GV5ua_K5mWu8SWgHugydiHmTuvEUlI2QvJ27MFY1sy1IwSSr78Oc

Solved it by creating App password. You must got to Google account. Security tab, active 2 Step Verification. After this new option under "Signing in to Google" the "App passwords" option will be actived. Just create one app password and use as password to authenticate


Here is a more precise answer with all the main steps. I hope it will help other people.

  1. Log in into your email account: https://myaccount.google.com

  2. Then go to the security part

enter image description here

Be sure that you have turn on two steps verification and click on "App password"

enter image description here

  1. After select email and the corresponding device

enter image description here

  1. It will generate a password that will look like this; it is this password that you have to use in your python script.

enter image description here

  1. This password will appear here; in this place, you will have the option to erase it (so it will be no longer be useful to connect to your email account).

enter image description here

Hope it will help other people!

Không có nhận xét nào:

StaticImage

  import React , { useEffect , useRef } from "react" import { StaticImage } from "gatsby-plugin-image" impor...