Closed anibalsanchez closed 12 years ago
Maybe you do not have issues with proper due date, do you? There is nothing wrong in logs...
But it's generating mails.... I've forced in the mailer task to send all generated mails to me.... but no mail is sent.
I think it's related with rake... but I don't know where to check it.
Thanks, Anibal
How do you know whether it generates emails or not? I do not see any messages in the logs which are related to the generation of the email.
These entries seems to be generated one per each mail:
Rendered plugins/due_date_reminder/app/views/reminder_mailer/due_date_notification.html.erb within layouts/mailer
Unfortunately I have no idea what is wrong. But You can try to disable asynchronous mail deliviery, it might help... What version of Redmine and the plugin do you use? Probably, I will check this issue on next weekends.
I'm running the last version v2.0.3.
I'm going to try to solve it tomorrow.
Thanks
We solved the issue.
We are running the task in development mode with smtp.
Production site works with no problem using sendmail.... however rake requires smtp to work.... very very odd.
Thanks, Anibal
Ok. I think the issue is closed
Yeah, Thanks!
Hi,
I'm trying to solve why the mails are not coming through. Please, check this:
rake redmine:reminder_plugin:send_notifications RAILS_ENV=production --trace * Invoke redmine:reminder_plugin:send_notifications (first_time) * Invoke environment (first_time) * Execute environment * Execute redmine:reminder_plugin:send_notifications
In the log, I can verify:
Connecting to database specified by database.yml OpenIdAuthentication.store is nil. Using in-memory store. Creating scope :active. Overwriting existing method User.active. Creating scope :open. Overwriting existing method Version.open. DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at /home/projec12/redmine-2.0.2/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58) DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at /home/projec12/redmine-2.0.2/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58) Creating scope :open. Overwriting existing method Issue.open. Rendered plugins/due_date_reminder/app/views/reminder_mailer/due_date_notification.text.erb within layouts/mailer (37.8ms) Rendered plugins/due_date_reminder/app/views/reminder_mailer/due_date_notification.html.erb within layouts/mailer (1.4ms)
However.... no mail.... do you have any tip?
Regards, Anibal