Just a quick FYI and this work should consider as beta right now. We have also removed the Group Mode feature as we are currently testing this on Moodle 1.8 right now.
Hope some of you would enjoy this block. Feedback/comment are always welcomed...
|
maxattachmentsize: |
Great Enhancement! Just installed on upgrade to Moodle 1.9 (beta3). Works great, but having two issues:
1. In the "older" version of quickmail - I was able to email all system accounts from the main home page - seem to see any users now.
2. The History tab is now missing - so I cannot see prior messages sent.
Ken
Paul - thanks for the fix and sorry for the slow reply - should have looked at the code. History is working great now!
Ken
Andy,
We are using this block (quickmail - larger classes) with IE and are not seeing any issues. www.justicedegree.org , PHP Version 5.1.6, Moodle 1.93beta.
Ken
Wen,
Quick question. Is there a way to add admins on to the list of "quickmailable" users in each course?
Currently, when we us the quickmail block in a course, the list of mailable users that pop up are only those involved in the course (students + instructors). It would be nice to have system admins (program directors, etc.) on this list as well, as we frequently need to cc them on these course e-mails. Is there an easy way to do this?
Ken
Bumping my own question here for those who are interested.
originally I asked" Is there a way to add admins on to the list of "quickmailable" users in each course?
Currently, when we us the quickmail block in a course, the list of mailable users that pop up are only those involved in the course (students + instructors). It would be nice to have system admins (program directors, etc.) on this list as well, as we frequently need to cc them on these course e-mails. Is there an easy way to do this?"
Hack to do this:
In e-mail.php around line 151 replace this:
//Get list of students enrolled in the course including teachers and students
if (!$courseusers = get_course_users($course->id, 'lastname')) {
error('No course users found to email');
}
with this:
//Get list of students enrolled in the course including teachers and students
if (!$courseuserstudentteachers = get_course_users($course->id, 'lastname')) {
error('No course users found to email');
}
//Get list of Admins
if (!$courseadmins = get_admins($course->id, 'lastname')) {
error('No course admins found to email');
}
//Combine the two
if (!$courseusers = $courseadmins + $courseuserstudentteachers) {
error('No course admins found to email');
}
This will populate site admins in all quickmail lists.
ken
$sql = "SELECT DISTINCT CONCAT(r.id, '_', usr.username), r.id AS roleid, r.name,
r.shortname, usr.id AS userid, usr.username, usr.email, usr.firstname,
usr.lastname
FROM mdl_course AS c
INNER JOIN mdl_context AS cx ON cx.id={$context->id}
INNER JOIN mdl_role_assignments AS ra ON cx.id = ra.contextid
INNER JOIN mdl_role AS r ON ra.roleid = r.id
INNER JOIN mdl_user AS usr ON ra.userid = usr.id
WHERE (c.id = {$course->id}) ORDER BY usr.lastname ASC";
$dbcontent = get_records_sql($sql);
$sql = "SELECT CONCAT(u.id, '_', u.username, '_', g.id) AS uniquecode,
u.id AS userid, g.id AS groupid, g.name
FROM mdl_user AS u,
mdl_groups AS g,
mdl_groups_members AS gm
WHERE g.courseid = {$course->id}
AND g.id = gm.groupid
AND gm.userid = u.id";
$sql = "SELECT DISTINCT CONCAT(r.id, '_', usr.username), r.id AS roleid, r.name,
r.shortname, usr.id AS userid, usr.username, usr.email, usr.firstname,
usr.lastname
FROM {$CFG->prefix}course AS c
INNER JOIN {$CFG->prefix}context AS cx ON cx.id={$context->id}
INNER JOIN {$CFG->prefix}role_assignments AS ra ON cx.id = ra.contextid
INNER JOIN {$CFG->prefix}role AS r ON ra.roleid = r.id
INNER JOIN {$CFG->prefix}user AS usr ON ra.userid = usr.id
WHERE (c.id = {$course->id}) ORDER BY usr.lastname ASC";
$dbcontent = get_records_sql($sql);
$sql = "SELECT CONCAT(u.id, '_', u.username, '_', g.id) AS uniquecode,
u.id AS userid, g.id AS groupid, g.name
FROM {$CFG->prefix}user AS u,
{$CFG->prefix}groups AS g,
{$CFG->prefix}groups_members AS gm
WHERE g.courseid = {$course->id}
AND g.id = gm.groupid
AND gm.userid = u.id";
Hey Steve,
Thanks for the edition.
Perhaps an off-base question - but do you know how to have quickmail also populate the list of site admins into all courses as well?
Right now this code in line 76 of email.php:
//Get list of users enrolled in the course including teachers and students
if (!$courseusers = get_course_users($course->id, 'lastname')) {
error('No course users found to email');
}
Just gives me teachers + students within a course. I need these + site admins.
Any thoughts would be most appreciated.
Ken
Hey Wen,
Since I see you are on.............
Do you know how to have quickmail populate the list of site admins into all courses e-mail lists as well?
Right now this code in line 76 of email.php:
//Get list of users enrolled in the course including teachers and students
if (!$courseusers = get_course_users($course->id, 'lastname')) {
error('No course users found to email');
}
This just gives me teachers + students within a course. I need this plus the site admins. The only way to do it now is to manually add each admin in as a teacher.
Any thoughts would be most appreciated.
Ken
Hey Wen (sorry for the bump here, but can't figure this out despite much searching) ,
Can you help me with a quickmail hack.....
I need to have quickmail populate the list of site admins into all course e-quickmail lists.
Right now this code in line 76 of email.php:
//Get list of users enrolled in the course including teachers and students
if (!$courseusers = get_course_users($course->id, 'lastname')) {
error('No course users found to email');
}
This just gives me teachers + students within a course. I need this plus the site admins. The only way to do it now is to manually add each admin in as a teacher.
Any thoughts would be most appreciated.
Ken
Here i found a url where we can download the plugin for Moodle 2.0 and 2.1
http://moodle.org/plugins/view.php?plugin=block_quickmail
Hi,
We are looking at updating our Quickmail Block and I had a question about the new Enhanced Quickmail:
Does it allow one to add multiple attachments or are you still limited to only attaching one document per email?
Thank you!
Jenna
Hi Mr Wen
I am trying to install Quickmail 2.6 to my moodle 1.9.10. I expanded the .tgz file in the blocks folder of my moodle installations, then I clicked the Notifications link, but nothing happened. The module was not installed. Then, as the block folder didn't have a version.php file so I copied one from another block installed, and it didn't install. I tried to install it on moodle 1.9.9. and it didn't install either.
Please, advise me what I should do to install this block?
Thanks in advance.
I found that these settings must contain valid email addresses (valid domain name) in order for emails to go through via SMTP:
Site Administration > Server > Email > Support Email
Site Administration > Server > Email > No-reply address
Otherwise, the result of email sending will say 'successfully sent email,' but not actually send anything.
Also, I found that after you unzip the Quickmail files into the blocks folder, you have to visit your site's main admin page at /admin/index.php to complete the installation. This is actually just one of the basic steps to install any block.
I hope these tips help some people.
Just wondering if there were any plans to update the Quickmail Block to work with Moodle 2.0? We would really like to upgrade our Moodle site but are also heavy users of the Quickmail feature. Any update is greatly appreciated.
Hi Peter, yes there is a plan to upgrade Quickmail to comply with Moodle 2.0 standards, but I will have to take a deeper look at 2.0 codes first. Plus I could only work on this project using my own weekend non-working hours. So if anyone want to help out please message me or email me. Thanks!
I am the moodle admin at our school. A teacher is using the quickmailSMS block and it works but when the students get the message the FROM: is my e-mail address rather than the teacher's. Any ideas?
We have upgraded to 2.0 and really miss the Quickmail functionality. Nothing else seems to properly meet the needs of person-to-person communication with attachments.
Any further news about when it will be available for use with 2.0?
Thanks.
We are migrating till moodle 2 this spring and will also miss Quickmail deeply!
Hello everyone
The institution where work is also moving to Moodle 2.0, and we felt much lack of QuickMail.
Does anyone have any information whether this block will be updated, or know of any tool we can use until we do not have the QuickMail?
Forgive me for some fault, but that is not mastered English very well.
Thank you!
Here i found a url where we can download the plugin for Moodle 2.0 and 2.1
http://moodle.org/plugins/view.php?plugin=block_quickmail
We are migrating to 2.0 this summer and I know teachers will greatly miss Quickmail. I have been watching the issue in the tracker [#CONTRIB-2014] Block: Quickmail - migrate to 2.0 - Moodle Tracker. Although it is listed as a high priority, it hasn't been completed yet. Does anyone have any idea when it might be finished or who I can contact to find out that information?
Here i found a url where we can download the plugin for Moodle 2.0 and 2.1
http://moodle.org/plugins/view.php?plugin=block_quickmail
Hi
I upgraded the quickmail block from 2.6 to 2.7.2 (not sure anymore where I found it, since the link to the newest version here still is pointing to quickmail 2.6).
Now it turns out that we aren't able to send emails with attachments with this version. If we try to add an attachment and send the mail the browser (Firefox 3.6) displays a blank page (".../blocks/quickmail/send_quickmail.php") and the mail isn't sent out.
Regards
Tobias
I've translated it into catalan (utf8), I don't know which is the way to make this contribution. I apologise for any trouble or mistake I could create...
Please take it for your convenience.
Best regards,
Laura
where can i download 2.7.2 for moodle 1.9x ?
Hi, Wen Hao Chuang.
We are interesting of your plugin for Moodle 1.9.x.
Where i can download „quickmail26.zip“?
Best regards, alex.