Send messages "from system"

Send messages "from system"

by Marjan Milošević -
Number of replies: 2
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".

Average of ratings: -
In reply to Marjan Milošević

Re: Send messages "from system"

by Darko Miletić -

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

In reply to Darko Miletić

Re: Send messages "from system"

by Marjan Milošević -

Yes, that would be it. Great, thanks, Darko - hvala lepo smile

I'm just diving into some dev things, guess I'm going to get more familiar with the docs and their location smile