This patch allows administrators to restrict the sending of Case Tracker status update mails by user roles.

Motivation:
I have a site where anonymous users and members of the 'customer' role can submit cases but receiving a status update on their case would be confusing.

This patch adds a 'Send Case Tracker mails to members of these roles' fieldset containing a checkbox for each of the site's roles at 'admin/settings/casetracker/mail'.
Before sending a status update mail, the casetracker_mail_send function performs a user_load on each user associated with the case and checks to see if that user is a member of any roles that should receive a status update. If a user is a member of any of the roles that should receive updates, an email will be sent, even if her other roles are set not to receive updates.

CommentFileSizeAuthor
casetracker_mail_by_roles.patch4.82 KBezra-g

Comments

ezra-g’s picture

Anyone ever look at this?

DaveNotik’s picture

I don't think so. I'd love to see contributions make it in.

Morbus, where are you? :(

eclipsegc’s picture

Casetracker is under new management.

Please re-apply this against Dev if you'd like to see it committed.

jmiccolis’s picture

Version: 5.x-1.1 » 6.x-1.x-dev

Changing target version to 6.x as we're not adding any new features to the 5.x branch at this point.

jmiccolis’s picture

Hi all,

I'm looking for feedback on how we can move forward with CT Mail, as it's the big release blocker for Drupal 6 http://drupal.org/node/712794

jmiccolis’s picture

Status: Needs review » Closed (won't fix)

I've just removed CT mail from the Case Tracker suite. My intention is to replace it with a messaging and notifications module that extends what you can already do with those modules. As this issue no longer applies to Case Tracker I'm setting it to "won't fix".