Auto BCC

Moderator: crythias

Post Reply
mkrasicki
Znuny newbie
Posts: 1
Joined: 26 Jul 2021, 15:43
Znuny Version: 6.0.33
Real Name: Marcin
Company: Contman

Auto BCC

Post by mkrasicki »

Hi all.

I'm trying to add 2 bcc to every ticket response, and no matter what I do I always end up with only last email being added.

I've created FillBcc.js like described in this post:
viewtopic.php?t=39386

With small change like this:

Code: Select all

$(document).ready(function() {
   setTimeout(function() {
       const Action = Core.Config.Get('Action');
       const SupportedActions = ['ActionTicketPhone', 'AgentTicketEmail', 'AgentTicketForward', 'AgentTicketCompose'];
       if ($.inArray(Action, SupportedActions) !== -1)
            $('#BccCustomer').val('xxx@xxx.pl').trigger('change');
            $('#BccCustomer').val('yyy@yyy.pl').trigger('change');
   }, 0);
});
This was working on regular OTRS, but now in Znuny edition all I get is the last email in BCC, tried different combination with &&, AND dubble .val etc but no luck.

Anyone could please help with this one? :)

Cheers.
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Auto BCC

Post by alexus »

Try standard SysConfig option "SendmailBcc"
https://otrs/otrs/index.pl?Action=Admin ... endmailBcc
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
Post Reply