[rt-users] how to send templates with custom scrip

2006-07-20 Thread Stefan Franck

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
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com



We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html


Re: [rt-users] how to send templates with custom scrip

2006-07-20 Thread Garry T. Williams
On Thursday 20 July 2006 06:11, Stefan Franck wrote:
 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

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html