ascendro/redmine_issue_reminder — Issue #9: Emails are not sent
Author: danaivehr
Created: 2011-11-28 18:43:39+00:00
State: open

Hi!

Thank you very much! It's very cool plugin, and it is exactly what i need.

Unfortunately, it seems to not send e-mails. I tryed it on windows server 2003 and suse linux, without success.

Configs are

#1:
OpenSuse (2.6.32-5-amd64 kernel)
redmine 1.1.2
sqlite (don't know version, it's on the hosting)

#2:
Win server 2003
redmine 1.2.1
MySql (don't know version...)

I have install plugin as described in readme. Then i've add query in the web interface, add reminder for my role. Query is not empty.

I try to simply envoke
$ rake reminder:exec RAILS_ENV="production" --trace
it outputs
`** Invoke reminder:exec (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute reminder:exec`
and exits. No emails. And every time is "first_time" - is it normal?

I don't know ruby, but i tryed to dig a little by placing the "puts" in several places in the code. I also have commented all cases in `def execute?` and left only `true` there.
Even `issues_reminder(user, queries_data)` in `reminder_mailer.rb` is executed, and i can see myself in recepients, the subject is correct.

May be ActionMailer fails, but i don't know, how to check it. May be i have incorrect configuration in web-interface.

Please help me with this issue.
PS. Sorry for my english.