Logging and email not working for Django for 500

后端 未结 3 1380
轻奢々
轻奢々 2021-01-12 18:18

I can\'t get logging to work in my Django web app.

My settings file looks like this:

EMAIL_HOST = \"smtp.gmail.com\"
EMAIL_PORT = 465
EMAIL_HOST_USE         


        
3条回答
  •  天涯浪人
    2021-01-12 19:10

    Also check your email client rules on what to do with the emails once they arrive.

    I had some rules in my e-mail client with errors and they were stopping my Django logging mails to enter/show up.

提交回复
热议问题