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);
});
Anyone could please help with this one?
Cheers.