Defect #8108
closedEmail reminders sent for closed issues
0%
Description
Hi All
Our Redmine is sending email reminders for issues due in the next 7 days even for closed issues. Hoping that version 1.1.2 would fix this, we recently upgraded from 1.0.5 to 1.1.2 but we are still getting reminders for closed issues.
Anybody else has this problem? Any solution?
Thank you very much in anticipation.
Gui
Files
Updated by Jean-Philippe Lang over 13 years ago
I've just re-checked and this task never sent notifications for closed issues.
Are you sure that the status of these issues is marked as closed?
Updated by CM Gui over 13 years ago
Hi Jean
Thank you for the response. Yes, we are getting email reminders for closed and even deleted issues.
Yes the status of the issues are marked as closed.
Gui
Updated by Etienne Massip over 13 years ago
- Category set to Email notifications
- Affected version (unused) set to 1.1.2
- Affected version set to 1.1.2
How are you running the reminder task ?
Updated by CM Gui over 13 years ago
- File statuses1.jpg statuses1.jpg added
Etienne Massip wrote:
How are you running the reminder task ?
Thank you for the response.
Via a cron job
#!/bin/sh
cd /usr/local/www/redmine
/usr/local/bin/rake redmine:send_reminders days=7 RAILS_ENV="production"
attached is our issue statuses
Updated by Etienne Massip over 13 years ago
Could you post you app/models/mailer.rb
file, please ?
Updated by Etienne Massip over 13 years ago
Looks fine :|
Could you please try to run the rake
command without the days=7
argument (default value is 7, btw) ?
Guess that won't change anything, though.
Is every closed issue (with due date within the 7 days) sent ?
Updated by CM Gui over 13 years ago
Okay I have removed to the @days=7 from the command in the script.
Cannot run the script now. Cron job will run it tonight. Will see if email reminders are still sent for closed issues.
No, the email reminders are not sent for all closed issues. Sent for almost all closed issues, but not for some. I cannot identify the pattern.
Etienne Massip wrote:
Looks fine :|
Could you please try to run the
rake
command without thedays=7
argument (default value is 7, btw) ?Guess that won't change anything, though.
Is every closed issue (with due date within the 7 days) sent ?
Updated by Etienne Massip over 13 years ago
Any news ?
What's your plugin list ?
Updated by Mischa The Evil about 13 years ago
- Status changed from New to Closed
- Resolution set to No feedback
Updated by Anonymous about 9 years ago
We receive E-Mail reminders for closed tickets, too. I actually don't know how the emails are triggered. I did not add a cronjob for that. The only cronjob that runs is:
*/5 * * * * wget -O - "http://127.0.0.1/helpdesk_mailer/get_mail?key=secret"
The ticket was closed on 10.11.2015.
The due date is 10.11.2015.
The email notification is sent every day (today is 13.11.2015)
My colleague receives mails with this parameters:
The ticket was closed on 04.11.2015
The due date is 04.11.2015
The email notification is sent every day (today is 13.11.2015)
We migrated on 04.11.2015 redmine from 2.3.3.stable to 3.1.1.stable
Issues that were closed before migration do not send notifications. According to /issue_statuses the status "Closed" is marked as "Issue closed".
Redmine info:
Environment: Redmine version 3.1.1.stable Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu] Rails version 4.2.4 Environment production Database adapter Mysql2 SCM: Subversion 1.8.10 Git 2.1.4 Filesystem Redmine plugins: redmine_contacts 4.0.3 redmine_contacts_helpdesk 3.0.1