> -----Original Message-----
> 
> I had to do this. I managed to do this (using RT 3.6.1) by adding an 
> action called "Send Email". This is a database edit. I used 
> an install 
> file like this:
> 
> # Used to install a scrip action.
> #
> # To install,
> # execute
> #     /path/to/rt3/sbin/rt-setup-database --action insert \
> #         --datafile /path/to/SendEmailAction.install
> #
> @ScripActions = (
>      { Name        => 'Send Email',
>        Description => 'Sends a message to those specified in 
> the template',
>        ExecModule  => 'SendEmail',
>        Argument    => '' },
> );
> 
> Then create a template that looks something like this:
> 
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Bcc: [EMAIL PROTECTED]
> Subject: {$Ticket->Subject}
> 
> A ticket has been created in (or moved to) this queue.
> 
> {$RT::WebURL}Ticket/Display.html?id={$Ticket->id}
> 
> -------------
> 
> {$Transaction->Content()}
> 
> Finally, create a scrip for "on create", action "send email", and 
> specify your template. The template specifies who receives the email.
> 
> Jason
> 

I don't think you need to create a database entry for the action - we've
done similar by a scrip like this:

On Create Notify Other Recipients using template whatever

As in Jason's example, the template has the email addresses hard-coded at
the top.

Steve

----------------------------------------
Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)
  

_______________________________________________
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

Reply via email to