Skip to content

Wrong thrird-party linked by EmailCollector class on precssing customer emails #31237

@alsoft10

Description

@alsoft10

Bug

When EmailCollector class is enables and Collect_Ticket_Requests option is enabled, after processing the customer emails, if the Third-party with that email address is already present, then EmailCollector class selecting wrong thirdparty. You can see the EmailCollector class settings below.
EmailCollector class settings

You can also check the EmailCollector class output below.
EmailCollector class output

Dolibarr Version

20.0

Environment PHP

8.1.25

Environment Database

MySQL

Steps to reproduce the behavior and expected behavior

  1. Create a Third-party with and email address at Dolibarr
  2. Setup EmailCollector class with your IMAP email
  3. Send email from that Third-party email to your support IMAP email
  4. Run EmailCollector class

Attached files

No response

Metadata

Metadata

Assignees

Labels

BugThis is a bug (something does not work as expected)Issue Stale (automatic label)This issue is stale because it has been open 1 year with no activity. Remove this label to keep open

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions