How to send templates with custom scrip

Hi,

If I have a template assigned to a scrip, how can I send it to a certain
address?
I want to send a special e-mail if a certain custom field changes to a
person depending on this custom fields’ value. So the recipient of the
mail has to be calculated in the scrip’s action.
I had a look at the wiki, and also looked at the perldoc for templates,
but I did not manage to find anything useful.

Does anybody have some sample code or instructions on how to do this?

Thanks for your help,
Stefan

If I have a template assigned to a scrip, how can I send it to a certain
address?

Select Notify Other Recipients in Scrips Fields. Emit a To: header in
the template (as the first line and then a blank line after all
headers).

I want to send a special e-mail if a certain custom field changes to a
person depending on this custom fields’ value. So the recipient of the
mail has to be calculated in the scrip’s action.

Hmmm. I guess, if it cannot be calculated in the template, I don’t
know how to “communicate” it to the template from the custom action.

Garry T. Williams — 678-656-4579