<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>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. <br><br>But, if I put the following code in the template:<br>-------------<br>{my $to_address = "username" }<br>To: {$to_address}@4j.lane.edu<br>Subject: New Ticket #{ $Ticket->Id() } has been created<br><br>Time to go to work<br><span>------------------<br><br>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.<br><br><br><span name="x"></span>Kurt Engle<br></span><br><hr id="zwchr"><b>From: </b>"Kevin Falcone" <falcone@bestpractical.com><br><b>To: </b>"Kurt Engle" <engle@4j.lane.edu><br><b>Sent: </b>Monday, December 13, 2010 11:34:58 AM<br><b>Subject: </b>Re: [rt-users] notification<br><br>On Mon, Dec 13, 2010 at 11:15:33AM -0800, Kurt Engle wrote:<br>> So here is the code that I am working with inside my template: <br>> } <br>> <br>> <br>> To: {$to_address}@4j.lane.edu"} <br>> Subject: New Ticket #{ $Ticket->Id() } has been created <br>> <br>> Time to go to work <br>> ---------------------------------- <br>> <br>> In my debug log, I am not even seeing the script being called that<br>> contains this template. If I strip everything above the 'To:' field,<br>> the scrip and template gets called but the e-mail is not sent even<br>> when I hard code the e-mail address. <br><br>You can't have blank lines above To:<br><br>Headers need to be the first lines in the template (after your code)<br>Having blank lines like that means that the To: is going in the body<br><br>Also, I believe we asked about NotifyActor. If you're testing as<br>yourself and emailing yourself RT will not notify you based on the<br>setting of that variable<br><br>-kevin<br></div></body></html>