# Trigger to multiple targets

**URL:** https://community.zammad.org/t/trigger-to-multiple-targets/3634
**Category:** Technical assistance
**Created:** [December 12, 2019, 12:04pm UTC](https://community.zammad.org/t/trigger-to-multiple-targets/3634 "2019-12-12T12:04:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![HeinzSchrot](https://community.zammad.org/user_avatar/community.zammad.org/heinzschrot/32/2779_2.png) [@HeinzSchrot](https://community.zammad.org/u/HeinzSchrot)
#### Post date: [December 12, 2019, 12:04pm UTC](https://community.zammad.org/t/trigger-to-multiple-targets/3634/1 "2019-12-12T12:04:38Z")

</div>

Hi,  
I got this scenario, and I’d like to know if this is somehow possible. I’m stuck right now.

We got 10 agents. They also want to communicate only trough zammad via email.  
So zammad catches via IMAP any shared mailbox and their personalized boxes as well.

If zammad collects an email from a personalized mailbox this happens:  
personal\_zammad\_trigger:

1. Target Group: [name.surname@company.org](mailto:name.surname@company.org)
2. Trigger: if target group = [name.surname@company.org](mailto:name.surname@company.org) --\> Owner: [name.surname@company.org](mailto:name.surname@company.org)
3. Only the agent himself can access his target group

This works very well.

Now if I create an email Ticket this way:  
Title: test  
customer: Shared Mailbox which is collected by zammad  
CC: [name1.surname@company.org](mailto:name1.surname@company.org); [name2.surname@company.org](mailto:name2.surname@company.org); [name3.surname@company.org](mailto:name3.surname@company.org);

Group: some public group  
Status: open  
Owner: Agent who creates

This way the ticket stays the way it was created.  
The outlook mailbox of any agent gets an email with the desired content.

But the zammad doest trigger the personal\_zammad\_trigger (the one from above), even if I duplicate that one an tell him to look for “CC”.

The goal is, that every “CC” Agent has a copy of that mail in his personal Group.

What is my best strategy here?  
Thanks!

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [December 13, 2019, 3:28pm UTC](https://community.zammad.org/t/trigger-to-multiple-targets/3634/2 "2019-12-13T15:28:57Z")

</div>

I am sure that the affected mailbox only has the mail once. This is exactly where this issue starts.  
Zammad does not duplicate the ticket for you - I mean Zammad in general doesn’t expect to be in the to twice or more often. If it is, it usually would need to ignore it.

If I’m wrong, maybe your logfile holds more usefull information if it e.g. ignored mails as duplicate or so.

---

<div class="post-metadata">

### Author: ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)
#### Post date: [April 11, 2020, 3:28pm UTC](https://community.zammad.org/t/trigger-to-multiple-targets/3634/3 "2020-04-11T15:28:59Z")

</div>

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
