Moodle Plugins directory: Queued bulk message | Moodle.org
Queued bulk message
Queued Bulk Message is a Moodle local plugin that adds a new Queue bulk message action to Moodle’s existing bulk user actions page.
Moodle core’s default bulk message action sends messages during the same web request. This can timeout or fail when messaging hundreds or thousands of users. This plugin avoids that by collecting the selected users, splitting them into configurable batches, and queueing Moodle adhoc tasks for cron to process in the background.
Admins can compose a message with a subject, choose whether to send it as a Moodle notification or a private user-to-user message, and optionally attach up to five image or document files. Attachment links are generated through Moodle’s File API and restricted to the sender, selected recipients, or site administrators.
Key Features
- Adds Queue bulk message to Moodle bulk user actions.
- Sends messages asynchronously using Moodle adhoc tasks.
- Configurable batch size.
- Supports Moodle notifications and private user messages.
- Supports up to five image/document attachments.
- Uses Moodle cron for background processing.
- Skips deleted and suspended users.
- Continues processing if one recipient fails.
- Restricts attachment access to intended recipients, sender, and admins.
- No Moodle core file modifications.
Comments