|Version 10 (modified by rjollos, 7 years ago) (diff)|
Yet another Trac tickets reminder script
Send a text-only mail with a reminder for new and open tickets.
See also: DailyReminderScriptForTracScript, TracReminderScript
If you have any issues, create a new ticket.
Download the zipped source from here.
in your crontab:
00 00 * * * /path/to/tracremind.py -f /path/to/tracremind.conf -p all > /dev/null 2>&1
How to include Cc recipients
The smptlib.sendmail method delivers the message body (param 3) to only those recipients included in the To parameter (param 2) - so if you want the CC folks to get the email you need to also include them in param 2.
s.sendmail(mailmsg['From'], mailmsg['To'] + ',' + mailmsg['Cc'], mailmsg.as_string())
( thanks to "robyn" for the suggestion )