|Version 5 (modified by 9 years ago) (diff),|
Yet another Trac tickets reminder script
send a text only mail with a reminder on new and open tickets.
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
Hint: Cc destinations
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())