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

Gerald Young <[email protected]>
Newsgroups gmane.comp.otrs.user
Message-ID <CAKk-oU+qhW02k7oQbsw=_ys73jxaT5WbydSJRDObZg_g87msFw@mail.gmail.com>
I believe the problem with To and Cc is because of the fancy interface to
providing entries to To and Cc.
https://github.com/OTRS/otrs/blob/rel-4_0/Kernel/Modules/AgentTicketEmail.pm#L182

my $CustomersNumberCc = $Self->{ParamObject}->GetParam( Param =>
'CustomerTicketCounterCcCustomer' ) || 0;

    if ($CustomersNumberCc) {
        my $CustomerCounterCc = 1;
        for my $Count ( 1 ... $CustomersNumberCc ) {
            my $CustomerElementCc = $Self->{ParamObject}->GetParam( Param
=> 'CcCustomerTicketText_' . $Count );
            my $CustomerKeyCc     = $Self->{ParamObject}->GetParam( Param
=> 'CcCustomerKey_' . $Count )

Basically, there is an internal counter that is used to apply the entry:
<input name="CustomerTicketCounterCcCustomer" id="
CustomerTicketCounterCcCustomer" type="hidden" value="0"/>

The following may be of use:
<input name="CustomerTicketCounterCcCustomer"
id="CustomerTicketCounterCcCustomer" type="hidden" value="1">
<input name="CcCustomerKey_1" id="CcCustomerKey_1" class="CustomerKey"
type="hidden" value="mycustomerusername">
<input class="CustomerTicketText" title="Cc" name="CcCustomerTicketText_1"
id="CcCustomerTicketText_1" type="hidden" value="[email protected]"
readonly="readonly" aria-invalid="false">


On Wed, Aug 10, 2016 at 10:04 AM, Julius Haake <[email protected]>
wrote:

> Gerald, thank you for your answer.
>
> I commented them out after testing. In fact the fields are not working, I
> cannot fill in the customer ID or, to be precise, I just don't know the
> correct field-Names for customer-ID, CC, BCC, etc.
>
> >Are they nonfunctional because they're commented or is it simply
> >coincidental that you indicated the nonfunctional entities by prefacing
> >them with a comment in what you posted?
>
> 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.