I use version 3.5 of Moodle on a RedHat 6.5 server
I'm working on a topic of surveys in courses and I have a problem regarding the sending of e-mails.
It happens that I want to send an email to the teacher of the course once the members of a group have completed the survey of the course, according to review in the default capabilities of the archetype teacher this can receive an email each time a user sends the survey but I I need to send a single email when all the members of a group complete the survey.
An alternative that I have been working on is a plugin called Event Trigger but I have not found the way to make it work as I need it but I have only managed from the same plugin to send the mail when a person sends the individual response of their survey after running the cron. I appeal to your help by consulting if someone has faced a similar situation and could give me an idea of how to approach this.
Beforehand thank you very much.
Link of the plugin: https://moodle.org/plugins/tool_trigger