Moodle Plugins directory: Quickmail | Moodle.org
Quickmail
Blocks ::: block_quickmail
Maintained by Robert Russo, David Lowe
A block that provides selective, bulk emailing within courses. Developed by LSU.
Latest release:
3401 sites
979 downloads
119 fans
Current versions available: 6
Quickmail is a block that provides selective, bulk emailing within courses.
Features
- Multiple attachments
- Drafts
- Signatures
- Filter by Role
- Filter by Groups
- Optionally allow Students to email people within their group.
License
Quickmail adopts the same license that Moodle does.
Authors
Quickmail was developed at Louisiana State University.
Contributors
Robert Russo (Lead maintainer)
David Lowe
Philip Cali: Former Lead Developer
Buddy Ethridge
jason peak: Former maintainer
David Elliott: Former maintainer
Chad Mazilly: Former Maintainer
Please login to view contributors details and/or to contact them
Daniel
Sorry, but you do not currently have permissions to do that (Add a new Quickmail block to the /my page).
Stack trace:
line 48 of /blocks/quickmail/classes/plugin.php: required_capability_exception thrown
line 43 of /blocks/quickmail/broadcast.php: call to block_quickmail_plugin::require_user_can_send()
PHP Deprecated: Required parameter $coursecontext follows optional parameter $includeusergroupinfo in {path}/blocks/quickmail/classes/plugin.php on line 214
We are looking at upgrading our PHP version on our production server (PHP 7.4.33) but getting this error message every time our corn runs on our test server (PHP 8.0.30) is disconcerting.
This is the message:
Exception - Argument 1 passed to block_quickmail\filemanager\message_file_handler::__construct() must be an instance of block_quickmail\persistents\message, null given, called in [dirroot]/blocks/quickmail/classes/filemanager/message_file_handler.php on line 79
I think that we are now on Moodle 4.1.5 but this Moodle error message occurred earlier.
(Great plug-in btw. I use it to schedule and notify students of impending events.)
I am experiencing an issue when attempting to duplicate a message in Moodle version 4.3.3+ with the Quickmail plugin version v4.2.1 (2023070700). The error message I receive is as follows:
block_quickmail\filemanager\message_file_handler::__construct(): Argument #1 ($message) must be of type block_quickmail\persistents\message, null given, called in [dirroot]/blocks/quickmail/classes/filemanager/message_file_handler.php on line 79.
I would greatly appreciate any guidance or solutions to resolve this problem. Thank you in advance for your assistance.
Love this plugin, is there any way to add data fields? I would love to the username to this list. Given that our students have a student number as a username, a lot of them tend to forget it. Getting it as a reminder before start of a course would really help.
Thanks in advance!
Send all scheduled Quickmail messages
\block_quickmail\tasks\send_all_ready_messages_task
Scheduled 10/30/24, 00:45:01 0.02 secs moodle 361031
9 reads
0 writes
Fail
Veiwing the failed log shows:
Execute scheduled task: Send all scheduled Quickmail messages (block_quickmail\tasks\send_all_ready_messages_task)
... started 00:45:01. Current memory use 21.0 MB.
Debugging increased temporarily due to faildelay of 61440
... used 9 dbqueries
... used 0.019463062286377 seconds
Scheduled task failed: Send all scheduled Quickmail messages (block_quickmail\tasks\send_all_ready_messages_task),groups_get_user_groups(): Argument #2 ($userid) must be of type int, null given, called in /mnt/data/moodle/blocks/quickmail/classes/repos/group_repo.php on line 92
Backtrace:
* line 92 of /blocks/quickmail/classes/repos/group_repo.php: call to groups_get_user_groups()
* line 66 of /blocks/quickmail/classes/repos/user_repo.php: call to block_quickmail\repos\group_repo::get_course_user_groups()
* line 335 of /blocks/quickmail/classes/repos/user_repo.php: call to block_quickmail\repos\user_repo::get_course_user_selectable_users()
* line 193 of /blocks/quickmail/classes/persistents/message.php: call to block_quickmail\repos\user_repo::get_unique_course_user_ids_from_selected_entities()
* line 222 of /blocks/quickmail/classes/repos/queued_repo.php: call to block_quickmail\persistents\message->populate_recip_course_msg()
* line 241 of /blocks/quickmail/classes/repos/queued_repo.php: call to block_quickmail\repos\queued_repo::sync_course_recip_msgs()
* line 49 of /blocks/quickmail/classes/tasks/send_all_ready_messages_task.php: call to block_quickmail\repos\queued_repo::get_all_messages_to_send()
* line 405 of /lib/classes/cron.php: call to block_quickmail\tasks\send_all_ready_messages_task->execute()
* line 208 of /lib/classes/cron.php: call to core\cron::run_inner_scheduled_task()
* line 125 of /lib/classes/cron.php: call to core\cron::run_scheduled_tasks()
* line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()
I am running QM version v4.2.2
2024101701
on Moodle 4.38, build 20241011. I did not have this issue before updating QM and Moodle on 10/15/24. I just updated QM again, but that did not fix the issue.
More information about this error
And also within the plugin overview it says:
v4.2.2 of quickmail
2024101701
any help ???
I changed the group setting from the default for the "block_quickmail_ferpa" setting to "Respect Course Mode" rather than the default "Always Separate Groups". This appears to have fixed the problem.