I’m using Sentry to monitor a Django app. I copied the following working email settings from the Django app to my Sentry config file:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'mail.privateemail.com' EMAIL_HOST_USER = 'email@example.com' EMAIL_HOST_PASSWORD = '***' EMAIL_PORT = 465 EMAIL_USE_SSL = True EMAIL_USE_TLS = False SERVER_EMAIL = EMAIL_HOST_USER
Everything looks right on the SMTP Settings page, but when I try to send a test email I get this:
Connection unexpectedly closed: timed out
The Django app is sending emails correctly with these exact settings. Where’s the difference? What am I doing wrong?
EDIT: Does Sentry actually support SMTP with SSL?