That's a good start to work with. Any leads on the proper way to go about sending mail via a template from inside a scrip would be welcome.
Do I just subclass Action::SendEmail, build my message, and commit()
it? I don't see a way to reference/use a template for that.
Condition: On Resolve
Action: User-defined
Template: ??????
Custom condition code:
N/A
Custom action preparation code:
if ticket has no parents
return 1
# otherwise... do stuff, send email
Custom action cleanup code:
return 1;
