Re: E-Mail-Ticket-Template -> "To"-Field and CC / BCC

Never Min <[email protected]>
Newsgroups gmane.comp.otrs.user
Message-ID <CAJEczdQXvGQKKi29xJR1iYG=dj1FVp5E7edG4rPzuA+dPggRbQ@mail.gmail.com>
Hi Julius,

You can try this:
http://opar.perl-services.de/dist/TemplateX-5.0.0

I hope will be help.


-Never

2016-08-03 18:57 GMT+08:00 Julius Haake <[email protected]>:

> 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="[email protected]"/>
> #    <input type="hidden" name="CcCustomer" value="[email protected]"/>
>     <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"/>
>     <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!
>
> BR
> Julius
>
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
>

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.