<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Nevermind I got it working.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Seems it doesnt like it if the template doesnt have
"Subject: AutoReply: {$Ticket->Subject}" at the beginning of it, which Im
assuming must be an actual email header for the subject.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now its working.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Though I ran into a second issue which Ive since
resolved too, which was that I was then getting two autoresponses to say the
ticket had been created. That was fixed easily enough by disabling the global
default. Something I would have also preferred to not neccessarily have to do,
but I can live with creating scrips and templates for each queue more than I can
live with having to only use the global default :-)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now if only I had found that in some documentation
somewhere... :-P</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks again!</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=tom@snnap.net href="mailto:tom@snnap.net">Tom Storey</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=gleduc@mail.sdsu.edu
href="mailto:gleduc@mail.sdsu.edu">Gene LeDuc</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=RT-Users@lists.bestpractical.com
href="mailto:RT-Users@lists.bestpractical.com">RT-Users@lists.bestpractical.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, July 24, 2007 8:32
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [rt-users] Autoreply scrip
doesnt execute</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi Gene,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for your suggestion.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I name my template Autoreply (previously it
was named "tunnel: Autoreply", for the "tunnel" queue), I dont get any
response at all, not even the default template :-)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I did also try naming my scrip Autoreply, but
same result. When the Template is named Autoreply, nothing happens at
all.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I do get automatic reply when I resolve the
tickets, however.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any other suggestions?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I really would prefer to avoid having to use the
global default as I would like to convey queue specific information to
requestors.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Tom</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gleduc@mail.sdsu.edu href="mailto:gleduc@mail.sdsu.edu">Gene
LeDuc</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=tom@snnap.net
href="mailto:tom@snnap.net">Tom Storey</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=RT-Users@lists.bestpractical.com
href="mailto:RT-Users@lists.bestpractical.com">RT-Users@lists.bestpractical.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, July 24, 2007 1:53
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [rt-users] Autoreply scrip
doesnt execute</DIV>
<DIV><BR></DIV>Hi Tom,<BR><BR>Try naming your local template
Autoreply<BR><BR>If a queue template has the same name as a global template
it will be used instead of the global. I think this is what you
want.<BR><BR>It would seem that your scrip should work, but it might be that
RT only triggers one scrip per transaction and that the global OnCreate is
winning the coin toss. Early on I disabled every global scrip and just
create the ones that I need locally. This way there are no surprises
when RT sends a reply that I didn't want sent. I do have 1 global
scrip, but I wrote it and I know that I want it to work across all queues
(it's an e-mail password reset scrip).<BR><BR>Regards,<BR>Gene<BR><BR>At
04:38 AM 7/22/2007, Tom Storey wrote:<BR>
<BLOCKQUOTE class=cite cite="" type="cite"><FONT face=arial size=2>This
afternoon I installed RT 3.6.4, Ive setup a queue, I can email into it, I
can get a response to say a ticket has been created, but I cannot seem to
get it to reply with my own custom message.<BR></FONT> <BR><FONT
face=arial size=2>Unless Im missing something so bleedingly obvious, this
is what Ive done:<BR></FONT> <BR><FONT face=arial size=2>1. Click on
Configuration, Queues, select my queue, click Templates, and create a
template<BR>2. click on Scrips, then New scrip, and add a scrip using the
following parameters:<BR></FONT> <BR><FONT face=arial
size=2>Description: Requestor creates ticket<BR>Condition: On
Create<BR>Action: Autoreply To Requestors<BR>Template: the template I
created above<BR>Stage: TransactionCreate<BR></FONT> <BR><FONT
face=arial size=2>3. send a new test email to my
queue<BR></FONT> <BR><FONT face=arial size=2>However, I still receive
an auto reply message as per the global default
template.<BR></FONT> <BR><FONT face=arial size=2>Have I missed
something, or is it not working as it should?</FONT></BLOCKQUOTE><X-SIGSEP>
<P></X-SIGSEP><BR>-- <BR>Gene LeDuc, GSEC<BR>Security Analyst<BR>San Diego
State University </P></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users<BR><BR>Community
help: http://wiki.bestpractical.com<BR>Commercial support:
sales@bestpractical.com<BR><BR><BR>Discover RT's hidden secrets with RT
Essentials from O'Reilly Media. <BR>Buy a copy at
http://rtbook.bestpractical.com</BLOCKQUOTE></BODY></HTML>