adamcooke / staytus

💡 An open source solution for publishing the status of your services
http://staytus.co
MIT License
2.17k stars 284 forks source link

Worker doesn't send mail #139

Closed baku-dev closed 3 years ago

baku-dev commented 7 years ago

Hello,

I've setup Staytus and it runs really fine. However email notifications are not send and the worker doesn't log anything. I use sendmail and it's properly configured. Could you please help?

baku-dev commented 7 years ago

After fiddling a bit with the app code, I think it is related to the Issue.notify value as commenting out if self.notify? in send_notifications_on_create in app/models/issue.rb and app/models/issue_update.rbkinda fixes the issue. However it makes Staytus send both "[New issue]" and "[Updated issue]" mail when creating an issue.

Hopefully my feedback is helpful.