Bug
The emails send from a project are not registered as a event in the agenda
Dolibarr Version
22.0.4
Environment PHP
8.2.30
Environment Database
MySQL or MariaDB 10.6.25-MariaDB
Steps to reproduce the behavior and expected behavior
Open a project and click over "Send email"
Then the email is send correclty but there is no event registered in the "Events/agenda" sheet.
Attached files
