1

I use Sentry to log exceptions for my project and all is OK.

But I don't know how to make Sentry auto-send notifications to my email (example as gmail,v.v) when there is an exception.

Help me.

# This is config setting:
# For more information check Django's documentation:
# https://docs.djangoproject.com/en/1.3/topics/email/?from=olddocs#e-mail-backends

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

EMAIL_HOST = 'localhost'
EMAIL_HOST_PASSWORD = ''
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_USE_TLS = False

# The email address to send on behalf of
SERVER_EMAIL = 'my_mail@gmail.com'
4

1 回答 1

1

检查您的哨兵设置

转到 http:///account/settings/notifications/

设置

PS Django 通常通过电子邮件发送到“管理员”设置中的地址

于 2014-02-25T10:44:32.933 回答