How can I avoid google mail server asking me to log in via browser?

后端 未结 15 2030
無奈伤痛
無奈伤痛 2020-12-04 18:13

I am trying to send emails from Django using an email configured by Google Apps, my configuration at the settings.py file looks something like this:

<         


        
15条回答
  •  情书的邮戳
    2020-12-04 18:21

    This is occuring due to some apps are marked as less secure apps by google. So to use those apps, you need to give access for those apps. to do that follow http://www.codematrics.com/your-imap-server-wants-to-alert-you-to-the-following-please-login-via-your-web-browser-gmail/

    Hope this will solve your issue.

提交回复
热议问题