I would like to make Moodle to send messages automatically, according to some condition.
Let's say I would like to alert students because the deadline for some submission is near - can I make the system send a message to particular students (group, whole class, cohort, individual...)?
I guess I could easily find methods for sending e-mails, but I would like to use messaging system, to have it in "real time".
If your question is - how do I send message to a user using Moodle messaging system here is the answer:
https://docs.moodle.org/dev/Message_API#How_to_send_a_message
Yes, that would be it. Great, thanks, Darko - hvala lepo
I'm just diving into some dev things, guess I'm going to get more familiar with the docs and their location