Project

General

Profile

Actions

Defect #8108

closed

Email reminders sent for closed issues

Added by CM Gui about 13 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2011-04-08
Due date:
% Done:

0%

Estimated time:
Resolution:
No feedback
Affected version:

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

statuses1.jpg (21.2 KB) statuses1.jpg CM Gui, 2011-04-14 16:20
mailer.rb (18.1 KB) mailer.rb CM Gui, 2011-04-14 18:35
Actions #1

Updated by Jean-Philippe Lang about 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?

Actions #2

Updated by CM Gui about 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

Actions #3

Updated by Etienne Massip about 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 ?

Actions #4

Updated by CM Gui about 13 years ago

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

Actions #5

Updated by Etienne Massip about 13 years ago

Could you post you app/models/mailer.rb file, please ?

Actions #6

Updated by CM Gui about 13 years ago

Attached is our mailer.rb file.

Thank you Etienne for looking into this.

Etienne Massip wrote:

Could you post you app/models/mailer.rb file, please ?

Actions #7

Updated by Etienne Massip about 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 ?

Actions #8

Updated by CM Gui about 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 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 ?

Actions #9

Updated by Etienne Massip almost 13 years ago

Any news ?

What's your plugin list ?

Actions #10

Updated by Mischa The Evil over 12 years ago

  • Status changed from New to Closed
  • Resolution set to No feedback
Actions #11

Updated by Anonymous over 8 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
Actions #12

Updated by Toshi MARUYAMA over 8 years ago

Simeon Felis wrote:

We receive E-Mail reminders for closed tickets, too.

FTR: #21227.

Actions

Also available in: Atom PDF