uvdesk / mailbox-component

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

Tickets are created from aliases or copied msgs. #100

Closed silviuchingaru closed 1 year ago

silviuchingaru commented 2 years ago

1. Why is this change necessary?

Uvdesk does not create tickets from aliases. @see #85 (expecially this comment) for details. Also, in addition to the added features mentioned in the comment above, with this patch, tickets can be created also from messages copied, with Thunderbird (tested) for exeample, from a non Uvdesk email Inbox to an Uvdesk's cofigured mailbox Inbox.

2. What does this change do, exactly?

It changes uvdesk:refresh-mailbox command to send mailbox email as parameter in request and MailboxService::processMail use this parameter to set correct mailbox to created ticket.

3. Please link to the relevant issues (if any).

See #85 (expecially this comment)

This fixes #85 and uvdesk/community-skeleton#555.

It also fixes ticket submissions from PHP forms like the ones mentioned in uvdesk/community-skeleton#531 (after this patch, this issue is fixed also). I've tested with both, message to an alias and message to Uvdesk mailbox - they both work and tickets are created. I've attached the test messages exported from Thunderbird - ofcorse, domain was ofuscated 😉.

msg_from_site_form_to_alias.txt msg_from_site_form_to_mailbox.txt

komal-sh-27 commented 1 year ago

Thanks for the added this pull request. This issue and feature added "Reply-to" is fixed in v-1.1.3, so i am closing this pull request.

image