I have removed the blank lines, thank you for that tip. I am sending in the 'ticket' as a user other than myself and I am trying to notify someone other than myself. I am still not seeing the scrip being run.
But, if I put the following code in the template: ------------- {my $to_address = "username" } To: {$to_addre...@4j.lane.edu Subject: New Ticket #{ $Ticket->Id() } has been created Time to go to work ------------------ The script that uses this template gets run but I get an error on the recipients. I am trying to create a simple test that will successfully sendout e-mail, then I can start trying to figure out why my code is broken. Kurt Engle From: "Kevin Falcone" <falc...@bestpractical.com> To: "Kurt Engle" <en...@4j.lane.edu> Sent: Monday, December 13, 2010 11:34:58 AM Subject: Re: [rt-users] notification On Mon, Dec 13, 2010 at 11:15:33AM -0800, Kurt Engle wrote: > So here is the code that I am working with inside my template: > } > > > To: {$to_addre...@4j.lane.edu"} > Subject: New Ticket #{ $Ticket->Id() } has been created > > Time to go to work > ---------------------------------- > > In my debug log, I am not even seeing the script being called that > contains this template. If I strip everything above the 'To:' field, > the scrip and template gets called but the e-mail is not sent even > when I hard code the e-mail address. You can't have blank lines above To: Headers need to be the first lines in the template (after your code) Having blank lines like that means that the To: is going in the body Also, I believe we asked about NotifyActor. If you're testing as yourself and emailing yourself RT will not notify you based on the setting of that variable -kevin