Using custom functions to add additional email recipients
Posted: 12 Sep 2005, 13:11
We have several instances at our studio where we need certain bugs to also go out to internal mailing lists. For example, in Project X any bug that is marked as high priority, needs to be also emailed to our internal mailing list 'critical-issues'.
I had previously hacked into email.api.php and inserted a set of IF statements to accomplish what we needed. Now we are upgrading to 1.0rc2 and with the new custom functions, I'd like to avoid hacking apart files as much as possible.
I see custom_function_override_issue_create_notify() as the likely place for something like this, but the only email methods I see require user_ids. Since this is an email list, there's no user_id.
Suggestions?
I had previously hacked into email.api.php and inserted a set of IF statements to accomplish what we needed. Now we are upgrading to 1.0rc2 and with the new custom functions, I'd like to avoid hacking apart files as much as possible.
I see custom_function_override_issue_create_notify() as the likely place for something like this, but the only email methods I see require user_ids. Since this is an email list, there's no user_id.
Suggestions?