Messages can be sent between users on any Moodle site, they are sent within the Moodle platform similar to a text if the user is online. When users are offline the message will also be sent in an email.
Navigation block > My Courses > Course Name > Participants
Select one or all participants to send a message to. Click Send a message.
Compose your message. Preview it. Send or update it.