0

My redmine is sending e-mail notifications just for one project created, the other projects had the same configuration with observation and everything equals but don't send e-mail.

The main problem is that this redmine data base was migrated from one version to other, after that the project that exists before the migration still sending e-mail and the projects created after don't send e-mail anymore...

there is some way to discovery what is wrong? a log or something like this?

tiagomac
  • 461
  • 1
  • 7
  • 18
  • 1
    Check some events (which should send emails) step by step. For example for issue: [send_notification](https://github.com/redmine/redmine/blob/2.4-stable/app/models/issue.rb#L1517) - check the result `Setting.notified_events.include?('issue_added')` and check [`recipients`](https://github.com/redmine/redmine/blob/2.4-stable/app/models/issue.rb#L812) for this issue. PS you can do it in rails console in Production mode. – gotva Jan 30 '14 at 08:24
  • how can i do it? i run rails with bitnami here... there is some log in disk where it is recorded? – tiagomac Jan 30 '14 at 18:22
  • 1
    1. Create an issue which should send emails but it does not work and remember its ID 2. then you can enter to the server and run `RAILS_ENV=production bundle exec rails c` 3. check the result of `Setting.notified_events.include?('issue_added')` and `issue = Issue.find(ID); issue.recipients`. PS I believe bitnami allows you to use rails console on the server – gotva Jan 31 '14 at 08:43

0 Answers0