uvdesk / mailbox-component

The Mailbox component provides tools that allows your helpdesk to process tickets from multiple email sources.
MIT License
23 stars 40 forks source link

Duplicate entry for ticket when running refresh command second time. #51

Closed rahulshukla-webkul closed 4 years ago

rahulshukla-webkul commented 4 years ago

When an email is received, the ticket is created by using refresh mailbox command. But when I run refresh command again the same message is recorded again inside ticket(like a reply), like the customer has answered the confirmation email. But it is no answer from the customer, there is only one email!

papnoisanjeev commented 4 years ago

@rahulshukla-webkul locate file in your project.

vendor->uvdesk->mailbox-component->Services->MailboxService.php

Open MailboxService.php and reach to processMail() function.

refreshMailduplicate

Add condition as shown in screen shot.