No, you are spot on. <br><br>When an email is sent, their is something called the message envelope, which is distinct from the message header. The envelope determines who the message is delivered to, whereas the header determines what is displayed in their email program.<br>
<br>Your method involved specifying recipients at the tope of an RT template, which as far as I know will only result in the headers being modified. That will affect what people see in their email programs, but not who the email is actually sent to. <br>
<br>However, for all I know RT could be populating the envelope recipients from the header recipients specified in the template.<br><br>Oh well, no harm in trying :)<br>
<br><br><div class="gmail_quote">2009/6/24 Raed El-Hames <span dir="ltr"><<a href="mailto:rfh@vialtus.com">rfh@vialtus.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
No sure I know what you mean, yes it will exclude other recipients but I thought this is what you want:<div class="im"><br>
" I am trying to write a Scrip to autoreply to only the actor of a transaction."<br>
<br></div>
Did I miss the point??<br>
<br>
Roy<br>
<br>
Richard Brady wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Thanks for the reply.<br>
<br>
Surely that won't result in the message envelope being changed to exclude the other recipients?<br>
<br>
<br></div>
2009/6/24 Raed El-Hames <<a href="mailto:rfh@vialtus.com" target="_blank">rfh@vialtus.com</a> <mailto:<a href="mailto:rfh@vialtus.com" target="_blank">rfh@vialtus.com</a>>><div><div></div><div class="h5"><br>

<br>
    I do this via the templates, create a new template and at the top<br>
    of the template add:<br>
<br>
    To: {$Transaction->CreatorObj->EmailAddress}<br>
    Subject:{$Ticket->Subject}<br>
    RT-Attach-Message: Yes<br>
<br>
    Your template text etc<br>
<br>
    In the scrip make your<br>
    Action: Notify Other Recipients<br>
    Template: Your new template<br>
<br>
    Regards;<br>
<br>
    Roy<br>
<br>
    Richard Brady wrote:<br>
<br>
        Hi folks<br>
<br>
        I am trying to write a Scrip to autoreply to only the actor of<br>
        a transaction. When a ticket is closed and someone tries to<br>
        correspond, I want to autoreply with a message advising that<br>
        further correspondence is not possible. I am currently using<br>
        Autoreply to Requestors and CCs, but this sends the<br>
        notification to everyone. Now I have put custom conditions in<br>
        my other scrips to not relay the correspodnence on a closed<br>
        ticket, so other requestors are getting the "bounce" message<br>
        and won't know where it's from.<br>
<br>
        I don't believe this is related to the global NotifyActor<br>
        setting which has been discussed several times on this list.<br>
<br>
        I think the problem here is that I know how to write a custom<br>
        condition, but I have no idea how to write a custom action<br>
        which sends an email. If I could find an example of a custom<br>
        action that replies to ticket requestors, I could probably<br>
        modify it to send to transaction actor instead, but I can't<br>
        find such an example.<br>
<br>
        Thanks in advance for any tips.<br>
<br>
        Richard<br>
<br>
        --<br>
        Richard Brady<br>
        T: +44 (0)7771 623 348<br>
        E: <a href="mailto:rnbrady@gmail.com" target="_blank">rnbrady@gmail.com</a> <mailto:<a href="mailto:rnbrady@gmail.com" target="_blank">rnbrady@gmail.com</a>><br></div></div>
        <mailto:<a href="mailto:rnbrady@gmail.com" target="_blank">rnbrady@gmail.com</a> <mailto:<a href="mailto:rnbrady@gmail.com" target="_blank">rnbrady@gmail.com</a>>><br>
<br>
<br>
</blockquote>
</blockquote></div><br>