[Rtir] ScriptedAction not sending mail

Gorazd Božič gorazd.bozic at arnes.si
Fri Jul 16 02:45:09 EDT 2010


Sure! :-)

--- /opt/src/RT-IR-2.4.3/html/RTIR/Tools/ScriptedAction.html	2009-08-18 17:26:46.000000000 +0200
+++ local/plugins/RT-IR/html/RTIR/Tools/ScriptedAction.html	2010-07-15 13:38:14.000000000 +0200
@@ -31,7 +31,6 @@
 <& /Elements/ListActions, actions => \@finalresults &>
 
 <form method="get" action="ScriptedAction.html" name="ScriptedAction" enctype="multipart/form-data">
-<input type="hidden" name="incidentid" value="<%$incidentid%>" />
 <input type="hidden" name="loop" value="<%$ARGS{'loop'}%>" />
 <input type="hidden" name="UpdateType" value="response" />
 <input type="hidden" name="Action" value="Respond" />
@@ -132,6 +131,14 @@
     <input name="TemplateArg" size="60" value="<% $ARGS{'TemplateArg'} %>" />
   </td>
 </tr>
+<tr>
+  <td class="label">
+    <&|/l&>Link to incident</&>:
+  </td>
+  <td>
+    <input type="text" name="incidentid" value="<%$incidentid%>" />
+  </td>
+</tr>
   <tr>
     <td align="right" colspan="2">
     </td>
@@ -313,6 +320,7 @@
 
         $ARGS{'Subject'} = $original_subject;
         $ARGS{'Content'} = $original_content;
+	$ARGS{'Requestors'} = $addr;
 
         for (qw/Subject Content/) {
             $ARGS{$_} =~ s/_ADDR_/$addr/g;



More information about the Rtir mailing list