Hum, I think I was not clear enough. I don't want to code a plugin that sends email to students when a feedback is put on the
server, I want to be able to submit a feedback on the server (if possible without writing any plugin on the server side as I don't have access to the server) via an external script, so that the student can access it via the online moodle interface. For example, if on my computer I have the file "ex1_feedback.pdf" that corresponds to the feedback of the student 123456, I would like to be able to write something like:
```
wget --post-file=ex1_feedback.pdf https://uni_moodle.server/feedbackfile/ --post-data="user=123456;token=someWayToAuthenticateTheScript;exam_id=456789"
```
to automatically sends this file as a feedback on moodle interface. I could try to sniff what requests are actually sent to the server using
Firefox "network" tab in dev tools, and see if I can "reverse engineer" the request, but I was thinking that maybe moodle provides a cleanner way to do that.