RedmineReminderEmails » History » Version 7

Mischa The Evil, 2011-11-29 21:02
Added note about #5058 with :async delivery_methods.

1 1 Jean-Philippe Lang
h1. Sending reminder emails
2 1 Jean-Philippe Lang
3 5 Graham King
Redmine offers a rake task that sends reminder emails about issues due in the next days.
4 1 Jean-Philippe Lang
5 1 Jean-Philippe Lang
Available options:
6 4 Mischa The Evil
7 4 Mischa The Evil
* days: number of days to remind about (defaults to 7)
8 4 Mischa The Evil
* tracker: id of tracker (defaults to all trackers)
9 4 Mischa The Evil
* project: id or identifier of project (defaults to all projects)
10 4 Mischa The Evil
* users: comma separated list of user ids who should be reminded
11 4 Mischa The Evil
12 5 Graham King
The following example will send an email to each user who has assigned issues that are due in the next 7 days:
13 4 Mischa The Evil
14 4 Mischa The Evil
  rake redmine:send_reminders days=7 RAILS_ENV="production"
15 4 Mischa The Evil
16 6 Denis Savitskiy
The following example will send an email to users *1*, *23*, and *56* who have assigned issues that are due in the next *7 days*:
17 4 Mischa The Evil
18 6 Denis Savitskiy
  rake redmine:send_reminders days=7 users="1,23,56" RAILS_ENV="production"
19 7 Mischa The Evil
20 7 Mischa The Evil
Note: when [[EmailConfiguration#Asynchronous-delivery_methods|asynchronous delivery_methods]] are used for sending emails, the emails are not sent out whenever the rake task is executed, see #5058.