Tag: 泊坞员撰写

docker中的django&send_mail导致SMTPServerDisconnected

我设置了一个谷歌电子邮件后端Django和所有工作正常,直到我在码头组成容器中运行的整个东西。 SMTPServerDisconnected at /events/register/4/ please run connect() first Request Method: GET Request URL: http://192.168.99.100:80/events/register/4/ Django Version: 1.11.3 Exception Type: SMTPServerDisconnected Exception Value: please run connect() first Exception Location: /usr/local/lib/python3.6/smtplib.py in send, line 359 Python Executable: /usr/local/bin/uwsgi Python Version: 3.6.2 Python Path: ['.', '', '/usr/local/lib/python36.zip', '/usr/local/lib/python3.6', '/usr/local/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/site-packages', '/app'] Server time: Tue, 25 Jul 2017 11:07:45 […]