-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email alerts not being sent #217
Comments
Relevant fragments of my production.env:
Note that the above credentials and port work when using the commandline to send email. |
How to debug email alert plugin? I tried to edit |
do you see alert list in your service configuration ? |
@xinity what do you mean? Status of my check is "failing", service is "critical". UPDATE: I have noticed that I had empty "Alert Types" in my service.. Testing if adding "Email" here helps. |
"that I had empty "Alert Types" in my service.. Testing if adding "Email" here helps." |
@grzegorz-dubicki In order to make it work with Gmail i had to adjust the following configuration in settings.py EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', True)
EMAIL_HOST = os.environ.get('SES_HOST', 'localhost')
EMAIL_PORT = int(os.environ.get('SES_PORT', 25))
EMAIL_HOST_USER = os.environ.get('SES_USER', '')
EMAIL_HOST_PASSWORD = os.environ.get('SES_PASS', '')
#EMAIL_BACKEND = os.environ.get('SES_BACKEND', 'django_smtp_ssl.SSLEmailBackend') |
I am using a clean, new instance of Cabot now (f5f201c) and it also doesn't send emails through Gmail. Or rather Google Apps company account this time, to be precise. The account I am using works in other SMTP clients. @xinity I have enabled "Email" in "Alert Types" and it didn't help. @romankor Thank you, tried that - didn't help. In which log file should I look for traces of sending emails? How to increase the log level to see more? |
Ok, it started to work 💃 with the following configuration (but YMMV):
|
Sending email via Gmail SMTP with the login & pass I have in my Cabot conf, from the host Cabot is installed on works for me when I do it from the commandline but NOT from Cabot. There are NO entries mentioning emails in my Cabot's log files.
The problem has been with my Cabot instance since its first deploy, on 2015-02-27 v. 8362690.
Currently I am using Cabot v. 2708ee7, redeployed today (redeploy didn't help).
The text was updated successfully, but these errors were encountered: