{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry/issues/4252","repository_url":"https://api.github.com/repos/getsentry/sentry","labels_url":"https://api.github.com/repos/getsentry/sentry/issues/4252/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry/issues/4252/comments","events_url":"https://api.github.com/repos/getsentry/sentry/issues/4252/events","html_url":"https://github.com/getsentry/sentry/issues/4252","id":180470146,"node_id":"MDU6SXNzdWUxODA0NzAxNDY=","number":4252,"title":"Missing support for SMTP with SSL","user":{"login":"alexandervlpl","id":8945883,"node_id":"MDQ6VXNlcjg5NDU4ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/8945883?v=4","gravatar_id":"","url":"https://api.github.com/users/alexandervlpl","html_url":"https://github.com/alexandervlpl","followers_url":"https://api.github.com/users/alexandervlpl/followers","following_url":"https://api.github.com/users/alexandervlpl/following{/other_user}","gists_url":"https://api.github.com/users/alexandervlpl/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandervlpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandervlpl/subscriptions","organizations_url":"https://api.github.com/users/alexandervlpl/orgs","repos_url":"https://api.github.com/users/alexandervlpl/repos","events_url":"https://api.github.com/users/alexandervlpl/events{/privacy}","received_events_url":"https://api.github.com/users/alexandervlpl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-10-01T17:52:02Z","updated_at":"2018-11-10T07:49:50Z","closed_at":null,"author_association":"NONE","body":"See [forum topic](https://forum.sentry.io/t/smtp-connection-timeout-with-correct-email-config/180).\n\nIt turns out Sentry only supports TLS (and not SSL) for outgoing email. This is not immediately apparent (or documented). Settings like the ones below (though correct in Django) don't actually work in Sentry:\n\n```\nEMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'\nEMAIL_HOST = 'mail.privateemail.com'\nEMAIL_HOST_USER = 'info@ookmijnbedrijf.nl'\nEMAIL_HOST_PASSWORD = '***'\nEMAIL_PORT = 465\nEMAIL_USE_SSL = True\nEMAIL_USE_TLS = False\nSERVER_EMAIL = EMAIL_HOST_USER\n```\n\nWhen I try to send a test email I get this:\n\n**Connection unexpectedly closed: timed out**\n"},"comment":{"url":"https://api.github.com/repos/getsentry/sentry/issues/comments/437565846","html_url":"https://github.com/getsentry/sentry/issues/4252#issuecomment-437565846","issue_url":"https://api.github.com/repos/getsentry/sentry/issues/4252","id":437565846,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzU2NTg0Ng==","user":{"login":"duxinxiao","id":6724396,"node_id":"MDQ6VXNlcjY3MjQzOTY=","avatar_url":"https://avatars0.githubusercontent.com/u/6724396?v=4","gravatar_id":"","url":"https://api.github.com/users/duxinxiao","html_url":"https://github.com/duxinxiao","followers_url":"https://api.github.com/users/duxinxiao/followers","following_url":"https://api.github.com/users/duxinxiao/following{/other_user}","gists_url":"https://api.github.com/users/duxinxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/duxinxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duxinxiao/subscriptions","organizations_url":"https://api.github.com/users/duxinxiao/orgs","repos_url":"https://api.github.com/users/duxinxiao/repos","events_url":"https://api.github.com/users/duxinxiao/events{/privacy}","received_events_url":"https://api.github.com/users/duxinxiao/received_events","type":"User","site_admin":false},"created_at":"2018-11-10T07:49:50Z","updated_at":"2018-11-10T07:49:50Z","author_association":"NONE","body":"@ElliotCui Thanks! I will have a try"}}
{"actor":{"display_login":"duxinxiao"}}