[rt-users] Automatically sending e-mails using RT

Jeffrey J.D. Lee lee20 at fas.harvard.edu
Fri Mar 28 10:20:20 EDT 2008


RT-Attach-Message: yes


{$Transaction->CreatedAsString}: Request {$Ticket->id} was acted upon.
Transaction: {$Transaction->Description}
       Queue: {$Ticket->QueueObj->Name}
     Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject
given)"}
       Owner: {$Ticket->OwnerObj->Name}
      Status: {$Ticket->Status}
 Ticket <URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id} >
    Priority: {$Ticket->InitialPriority}


{$Transaction->Content()}


Those are the first ten lines of my Transaction template.

What is odd is that it was working at one point, but now it has stopped. I
didn't notice when it stopped.

i am using the following options in the Scrip:

Description: Owner Change
Condition: On Transaction
Action: Notify Owner
Template: Global template: Transaction
Stage: Transaction Create

Thanks for any help you can provide.

-Jeff

-Jeff

Quoting Kenneth Crocker <KFCrocker at lbl.gov>:

> Jeffrey,
>
>
> 	Please list the first 10 lines of your template.
>
>
> Kenn
> LBNL
>
> On 3/27/2008 2:19 PM, Jeffrey J.D. Lee wrote:
> > Tried to add a line to the beginning of the template and it still doesn't
> > trigger the sending of e-mail. It used to work, but for some reason it
> doesn't
> > work anymore. Any suggestions?
> >
> > -Jeff
> >
> > Quoting Gene  LeDuc <gleduc at mail.sdsu.edu>:
> >
> >> Hi Jeff,
> >>
> >> If you haven't disabled global scrip #2 ("On Owner Change Notify Owner
> with
> >> template Transaction") then it should work out of the box.
> >>
> >> If you've changed the template, the biggest gotcha is usually not leaving
> >> the first line of the template blank.  The blank line lets the mailer know
> >> where the headers end and the message body begins.  No blank line means no
> >> message body (and some pretty funky headers).
> >>
> >> Regards,
> >> Gene
> >>
> >> At 11:46 AM 3/27/2008, Jeffrey J.D. Lee wrote:
> >>> I cannot seem to have the scrips in RT send an e-mail to the new owner I
> >>> assign
> >>> a ticket to. It seems like it should be pretty straight forward but....
> no
> >>> cigar. Any suggestions?
> >>>
> >>> -Jeff
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >>>
> >>> Community help: http://wiki.bestpractical.com
> >>> Commercial support: sales at bestpractical.com
> >>>
> >>>
> >>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> >>> Buy a copy at http://rtbook.bestpractical.com
> >>
> >> --
> >> Gene LeDuc, GSEC
> >> Security Analyst
> >> San Diego State University
> >>
> >
> >
> >
> >
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Community help: http://wiki.bestpractical.com
> > Commercial support: sales at bestpractical.com
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com
> >
>







More information about the rt-users mailing list