{"action":"created","issue":{"url":"https://api.github.com/repos/taigaio/taiga-back/issues/649","repository_url":"https://api.github.com/repos/taigaio/taiga-back","labels_url":"https://api.github.com/repos/taigaio/taiga-back/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/taigaio/taiga-back/issues/649/comments","events_url":"https://api.github.com/repos/taigaio/taiga-back/issues/649/events","html_url":"https://github.com/taigaio/taiga-back/issues/649","id":138031786,"number":649,"title":"problem with sending emails","user":{"login":"adrian-wi","id":17580367,"avatar_url":"https://avatars.githubusercontent.com/u/17580367?v=3","gravatar_id":"","url":"https://api.github.com/users/adrian-wi","html_url":"https://github.com/adrian-wi","followers_url":"https://api.github.com/users/adrian-wi/followers","following_url":"https://api.github.com/users/adrian-wi/following{/other_user}","gists_url":"https://api.github.com/users/adrian-wi/gists{/gist_id}","starred_url":"https://api.github.com/users/adrian-wi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrian-wi/subscriptions","organizations_url":"https://api.github.com/users/adrian-wi/orgs","repos_url":"https://api.github.com/users/adrian-wi/repos","events_url":"https://api.github.com/users/adrian-wi/events{/privacy}","received_events_url":"https://api.github.com/users/adrian-wi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-03T00:04:11Z","updated_at":"2016-04-01T06:58:15Z","closed_at":null,"body":"Hi, I have my own taiga production instance,  I have added external email provider smtp settings as described: \r\nhttps://poczta.onet.pl/pomoc/13224,0,,6,0,37,2,0,,pomoc.html\r\nand user and password, but i am always getting: \r\n\r\n\r\n[02/Mar/2016 23:56:22] \"OPTIONS /api/v1/issues/1 HTTP/1.1\" 200 0\r\nRaven is not configured (logging is disabled). Please see the documentation for more information.\r\nERROR:2016-03-02 23:57:23,677: Internal Server Error: /api/v1/issues/1\r\nTraceback (most recent call last):\r\n  File \"/home/gearsoft/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/handlers/base.py\", line 132, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/home/gearsoft/taiga-back/taiga/base/api/viewsets.py\", line 105, in view\r\n    return self.dispatch(request, *args, **kwargs)\r\n  File \"/home/gearsoft/.virtualenvs/taiga/lib/python3.4/site-packages/django/views/decorators/csrf.py\", line 58, in wrapped_view\r\n    return view_func(*args, **kwargs)\r\n  File \"/home/gearsoft/taiga-back/taiga/base/api/views.py\", line 444, in dispatch\r\n    response = self.handle_exception(exc)\r\n  File \"/home/gearsoft/taiga-back/taiga/base/api/views.py\", line 441, in dispatch\r\n    response = handler(request, *args, **kwargs)\r\n  File \"/home/gearsoft/taiga-back/taiga/base/api/mixins.py\", line 199, in partial_update\r\n    return self.update(request, *args, **kwargs)\r\n  File \"/home/gearsoft/taiga-back/taiga/projects/issues/api.py\", line 144, in update\r\n    return super().update(request, *args, **kwargs)\r\n  File \"/usr/lib/python3.4/contextlib.py\", line 30, in inner\r\n    return func(*args, **kwds)\r\n  File \"/home/gearsoft/taiga-back/taiga/base/decorators.py\", line 60, in decorator\r\n    return func(self, *args, **kwargs)\r\n  File \"/home/gearsoft/taiga-back/taiga/base/api/mixins.py\", line 194, in update\r\n    self.post_save(self.object, created=False)\r\n  File \"/home/gearsoft/taiga-back/taiga/projects/occ/mixins.py\", line 84, in post_save\r\n    super().post_save(obj, created)\r\n  File \"/home/gearsoft/taiga-back/taiga/projects/history/mixins.py\", line 74, in post_save\r\n    super().post_save(obj, created=created)\r\n  File \"/home/gearsoft/taiga-back/taiga/projects/notifications/mixins.py\", line 106, in post_save\r\n    self.send_notifications(obj)\r\n  File \"/home/gearsoft/taiga-back/taiga/projects/notifications/mixins.py\", line 103, in send_notifications\r\n    services.send_notifications(obj, history=history)\r\n  File \"/usr/lib/python3.4/contextlib.py\", line 30, in inner\r\n    return func(*args, **kwds)\r\n  File \"/home/gearsoft/taiga-back/taiga/projects/notifications/services.py\", line 236, in send_notifications\r\n    send_sync_notifications(notification.id)\r\n  File \"/usr/lib/python3.4/contextlib.py\", line 30, in inner\r\n    return func(*args, **kwds)\r\n  File \"/home/gearsoft/taiga-back/taiga/projects/notifications/services.py\", line 293, in send_sync_notifications\r\n    email.send(user.email, context, headers=headers)\r\n  File \"/home/gearsoft/.virtualenvs/taiga/lib/python3.4/site-packages/djmail/template_mail.py\", line 125, in send\r\n    return email.send()\r\n  File \"/home/gearsoft/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/mail/message.py\", line 303, in send\r\n    return self.get_connection(fail_silently).send_messages([self])\r\n  File \"/home/gearsoft/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/mail/backends/smtp.py\", line 100, in send_messages\r\n    new_conn_created = self.open()\r\n  File \"/home/gearsoft/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/mail/backends/smtp.py\", line 58, in open\r\n    self.connection = connection_class(self.host, self.port, **connection_params)\r\n  File \"/usr/lib/python3.4/smtplib.py\", line 242, in __init__\r\n    (code, msg) = self.connect(host, port)\r\n  File \"/usr/lib/python3.4/smtplib.py\", line 323, in connect\r\n    (code, msg) = self.getreply()\r\n  File \"/usr/lib/python3.4/smtplib.py\", line 376, in getreply\r\n    raise SMTPServerDisconnected(\"Connection unexpectedly closed\")\r\nsmtplib.SMTPServerDisconnected: Connection unexpectedly closed\r\n[02/Mar/2016 23:58:23] \"PATCH /api/v1/issues/1 HTTP/1.1\" 500 37\r\n\r\nDoes anyone have an idea, what might be wrong,  (emails setting I have used, work with different applications)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/taigaio/taiga-back/issues/comments/204275995","html_url":"https://github.com/taigaio/taiga-back/issues/649#issuecomment-204275995","issue_url":"https://api.github.com/repos/taigaio/taiga-back/issues/649","id":204275995,"user":{"login":"superalex","id":1579633,"avatar_url":"https://avatars.githubusercontent.com/u/1579633?v=3","gravatar_id":"","url":"https://api.github.com/users/superalex","html_url":"https://github.com/superalex","followers_url":"https://api.github.com/users/superalex/followers","following_url":"https://api.github.com/users/superalex/following{/other_user}","gists_url":"https://api.github.com/users/superalex/gists{/gist_id}","starred_url":"https://api.github.com/users/superalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superalex/subscriptions","organizations_url":"https://api.github.com/users/superalex/orgs","repos_url":"https://api.github.com/users/superalex/repos","events_url":"https://api.github.com/users/superalex/events{/privacy}","received_events_url":"https://api.github.com/users/superalex/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T06:58:15Z","updated_at":"2016-04-01T06:58:15Z","body":"@adrian-wi did you check this one?"}}