Dear List,
I am fiddling around with E-Mail-Ticket-Templates, this is very nice, we need to send standardized E-Mails very often, submitting some data.
I used the youtube vid from
https://www.youtube.com/watch?v=1B8mZ9Ku_bA Creating the button for the template in "AgentTicketEmail.tt" and filling in the fields for Subject, Body, etc. is trivial, I am looking for a solution to prefill the fields for customer, CC and BCC.
Does any1 know a way? Sniffing through source code, I already tried the obvious names like "ToCustomer", etc.
My "code":
# example template form for customizations
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" id="Template1">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="StoreNew"/>
# <input type="hidden" name="ToCustomer" value="
mail@mail.com"/>
# <input type="hidden" name="CcCustomer" value="
j.haake@kk-es.de"/>
<input type="hidden" name="FormID" value="[% Data.FormID | html %]"/>
<input type="hidden" name="ExpandCustomerName" value="2"/>
<input type="hidden" name="Dest" value="16||Things"/>
<input type="hidden" name="Subject" value="New Problem in section XX pipe YY"/>