Skip to content

Conversation

@thomas-Ngr
Copy link
Contributor

@thomas-Ngr thomas-Ngr commented Oct 2, 2025

NEW When creating a ticket from backend with linked files, send files as mail attachment to notification emails.

When creating a ticket from the backend, the ticket message is sent without the hypothetical attached files.
Going to the backend or public interface may be cumbersome for the notified users, specifically the customer.
Having the files attached to the email is a nice UX enhancement.

This PR contains fixes already in :
#35590
#35591
#35595

The two PR mentioned above should be merged before.

@thomas-Ngr thomas-Ngr force-pushed the develop_NEW_create_ticket_mail_linked_files branch from ce8eade to 440887a Compare October 2, 2025 09:59
@thomas-Ngr thomas-Ngr changed the title NEW : when creating a ticket with linked files, send files as mail attachment to notification emails. Draft: NEW : when creating a ticket with linked files, send files as mail attachment to notification emails. Oct 2, 2025
@thomas-Ngr thomas-Ngr closed this Oct 2, 2025
@thomas-Ngr thomas-Ngr reopened this Oct 2, 2025
@thomas-Ngr thomas-Ngr changed the title Draft: NEW : when creating a ticket with linked files, send files as mail attachment to notification emails. NEW : when creating a ticket with linked files, send files as mail attachment to notification emails. Oct 2, 2025
}
}

// Send email to assignee if an assignee was set at creation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No more need of all this part ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a duplicate of code block from lines 174 to 200.
The very same change is in PR #35591 .

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Oct 2, 2025
@thomas-Ngr thomas-Ngr force-pushed the develop_NEW_create_ticket_mail_linked_files branch from 108e6ff to b872fd2 Compare October 20, 2025 14:03
@thomas-Ngr thomas-Ngr force-pushed the develop_NEW_create_ticket_mail_linked_files branch from b872fd2 to 3ce1b6b Compare October 20, 2025 14:09
@thomas-Ngr
Copy link
Contributor Author

@eldy I reworked this PR, can you have another look ? Thanks !

@thomas-Ngr
Copy link
Contributor Author

@eldy I reworked this PR, can you have another look ? Thanks !

@eldy eldy merged commit 6fd4a59 into Dolibarr:develop Nov 26, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Discussion Some questions or discussions are opened and wait answers of author or other people to be processed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants