# Email collector configuration error

**URL:** <https://www.dolibarr.org/forum/t/email-collector-configuration-error/30529>\
**Category:** CRM/SRM Modules\
**Tags:** Issue\
**Created:** [August 2, 2025, 8:51am UTC](https://www.dolibarr.org/forum/t/email-collector-configuration-error/30529 "2025-08-02T08:51:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JanusZAR](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@JanusZAR](https://www.dolibarr.org/forum/u/JanusZAR)\
**Post date:** [August 2, 2025, 8:51am UTC](https://www.dolibarr.org/forum/t/email-collector-configuration-error/30529/1 "2025-08-02T08:51:04Z")

</div>

Good day Dolibarr Community

I have been using Dolibarr extensively in one of my projects.

One of my favourite tools is the generation of tickets for every emails sent to a specific email address.

However, when I tried to add another email collector and when I got configure “Filters” it gives me the following error:

Cannot add or update a child row: a foreign key constraint fails (`* __database__ *`.`llxih_emailcollector_emailcollectorfilter`, CONSTRAINT `fk_emailcollectorfilter_fk_emailcollector` FOREIGN KEY (`fk_emailcollector`) REFERENCES `llxih_emailcollector_emailcollector` (`rowid`))

The initial installation was 18.0.5 and I am on 21.0.1.

This bug might have entered “the doli-sphere” in the V 21 upgrade.

Please let me know how to fix this silly bug.

Thank you very much.  
Js

---

<div class="post-metadata">

**Author:** ![william-m34d](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/william-m34d/32/9208_2.png) [@william-m34d](https://www.dolibarr.org/forum/u/william-m34d)\
**Post date:** [August 18, 2025, 9:47am UTC](https://www.dolibarr.org/forum/t/email-collector-configuration-error/30529/2 "2025-08-18T09:47:12Z")

</div>

Hello,  
Is it the same issue as here maybe ?

> <https://github.com/Dolibarr/dolibarr/issues/33571>
>
> \### Bug
> 
> Hello,
> 
> I've found a lot of bugs on the interaction between the Ticket …Module and the Email Collector:
> 
> \### Assigned users aren't notified when the client answers a ticket by e-mail.
> This bug clearly decreases the performance of Helpdesk teams, as they only know that the client has answered when they enter the ticket.
> 
> \### When a client answers a ticket created through the webportal, another ticket ends up being created with their reply
> This bug makes it difficult to keep track of client requests.
> 
> \### The assigned cron user is attributed as the author of tickets created through e-mail
> This bug makes it a bit confusing to understand who created the ticket from the Ticket List page.
> In addition, tickets created through the Public Interface don't show this information - maybe it would be possible to match with client's e-mail with their contact present on the database to show this information.
> 
> \### The assigned cron user is attributed as the author if messages the client sent through e-mail
> Again, this bug makes it a bit difficult to quickly understand who was the author of the message.
> 
> \### Dolibarr Version
> 
> 20.0.4
> 
> \### Environment PHP
> 
> \_No response\_
> 
> \### Environment Database
> 
> \_No response\_
> 
> \### Steps to reproduce the behavior and expected behavior
> 
> \_No response\_
> 
> \### Attached files
> 
> \_No response\_

---

<div class="post-metadata">

**Author:** ![JanusZAR](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@JanusZAR](https://www.dolibarr.org/forum/u/JanusZAR)\
**Post date:** [August 18, 2025, 10:49am UTC](https://www.dolibarr.org/forum/t/email-collector-configuration-error/30529/3 "2025-08-18T10:49:45Z")

</div>

Hello  
The bugs you quoted above were different.  
However, these bugs were fixed in V22.

I am EXTREMELY GRATEFUL to the team.

Thank you very much!

Regards  
Js
