<input type="hidden" name="Subject" value="New Problem in section XX pipe YY"/>My "code":Does any1 know a way? Sniffing through source code, I already tried the obvious names like "ToCustomer", etc.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.
# 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="Body" value="you are *****ed"/>
</form>It works fine, except for the Customer and CC-Fields :/Any help is highly appreciated!BRJulius
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs