Your Moodle version

Blocks: Quickmail

Maintained by Picture of Buddy Ethridge Buddy Ethridge, Picture of jason peak jason peak, Picture of Robert Russo Robert Russo, Picture of David Elliott David Elliott
A block that provides selective, bulk emailing within courses. Developed by LSU.
Moodle 2.4, 2.5, 2.6

Quickmail is a block that provides selective, bulk emailing within courses.


  • Multiple attachments
  • Drafts
  • Signatures
  • Filter by Role
  • Filter by Groups
  • Optionally allow Students to email people within their group.


Quickmail adopts the same license that Moodle does.


Quickmail was developed at Louisiana State University.




Picture of Buddy Ethridge
Buddy Ethridge (Lead maintainer)
Picture of Philip Cali
Philip Cali: Former Lead Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Bei Chapman
    Thu, Apr 17, 2014, 9:53 PM
    Hi Robert,

    Just wanted to let you know that I have changed them (3 places in get_non_suspended_users() function of lib.php) to uppercase, but Oracle still complains about it.

    It seems like Oracle doesn't like "AS" or "as" as the keyword in table alias at all.

  • Picture of Robert Russo
    Wed, Apr 23, 2014, 11:38 PM
    We are about to release the next version of Quickmail which allows for admins to send emails (via the site page or my page) to anyone within Moodle via the user filter build into Moodle. This will be available by next weekend. We are finishing up some final requests and testing now.

    We will also remove the AS table aliasing to please Oracle. Damn them for adhering to ANSI...
  • Picture of y h
    Sat, May 24, 2014, 5:01 AM
    Hi I added the quick mail block to my moodle and I tried to send email to my personal hotmail and gmail and moodle tells me that the mail is sent successfully but the mail is not received. Why?? and I would like to know if I have to run the script email.php or what?
    Note:I followed this: Use the Moodle Cron package. The simplest way is to use this little package MoodleCron-Setup.exe, which makes this whole thing very easy by installing a small Windows service. Run it and forget about it!
    Is it enough? Now I don't have to worry about cron.php anymore?
  • Just wondering . . .
    Tue, Jun 17, 2014, 6:33 AM
    How is quick mail with Moodle 2.7?
    Does it work?

  • Picture of David Elliott
    Wed, Jun 18, 2014, 2:25 AM
    Quickmail has been tested to work with 2.7. Please let me know if you have any issues.
  • me :)
    Wed, Jun 25, 2014, 11:50 PM
    There is a bug with the latest version of QuickMail when you're using it with an Oracle database. For more info, see my Jira issue here:
  • Picture of Mike Mann
    Wed, Jul 2, 2014, 10:47 PM
    I just tried to add the Attendance module and am having a missing from disk error for the Quick Mail plug-in. Any ideas how to remedy this? As an admin, I am unable to do anything in Moodle until this is fixed and I can't fix it. I'm hosed...

    I'm getting this error:

    exception 'zip_exception' with message 'Invalid structure of the zip package' in C:\inetpub\wwwroot\mdeploy.php:1422
    Stack trace:
    #0 C:\inetpub\wwwroot\mdeploy.php(805): worker->unzip_plugin('C:/inetpub/mood...', 'C:/inetpub/wwwr...', 'C:/inetpub/wwwr...', 'C:/inetpub/mood...')
    #1 C:\inetpub\wwwroot\mdeploy.php(1535): worker->execute()
    #2 {main}
  • Picture of Robert Russo
    Wed, Jul 2, 2014, 11:33 PM
    Mike, wrong plugin.
  • Not a picture of Wendell Jones
    Fri, Jul 4, 2014, 12:17 AM
    I'm getting the same error when I try to "Install this update" of Quickmail from the plugins overview page on our moodletest server running 2.7+. Is there some problem with the package file on the site?
  • Not a picture of Wendell Jones
    Fri, Jul 4, 2014, 12:43 AM
    I downloaded the package zip file and compared the contents to an older version of the Quickmail package (2012061112) that I happened to have handy. The main thing that stands out is the presence of the __MACOSX directory in the new version. Would this cause the problem with mdeploy.php?
  • Not a picture of Wendell Jones
    Fri, Jul 4, 2014, 5:38 AM
    If you haven't resolved the "missing from disk" problem yet, you can just copy the blocks/quickmail directory from a backup/previous version of your moodle code into the current blocks directory or failing that, download the previous version zip file from this site and unzip it in the current blocks directory. I hope that helps.
  • Picture of Robert Russo
    Fri, Jul 4, 2014, 6:01 AM
    I have hidden version 1.5 until I can replicate the problem you both have been having. I'm still unable to replicate.
  • Picture of Robert Russo
    Fri, Jul 4, 2014, 6:03 AM
    I've been able to install and upgrade the plugin without incident via the Moodle upgrade plugins screen.

    I've also had no troubles installing the plugin via the install now button here on
  • Not a picture of Wendell Jones
    Tue, Jul 8, 2014, 3:25 AM
    When you look at the contents of the 1.5 zip file, do you see the __MACOSX directory? In moodle/mdeploy.php in both Moodle 2.6 and 2.7 (I don't know how far back it goes) starting at line 1414 there is this code:

    // Make sure that the ZIP has expected structure
    $pluginname = basename($expectedlocation);
    for ($i = 0; $i < $zip->numFiles; $i++) {
    $stat = $zip->statIndex($i);
    $filename = $stat['name'];
    $filename = explode('/', $filename);
    if ($filename[0] !== $pluginname) {
    throw new zip_exception('Invalid structure of the zip package');

    In this case, $pluginname will be quickmail and it's checking to see that everything in the zip file is within that directory. When it encounters __MACOSX as a top level directory, it fails the test and throws the exception. (Unfortunately, unlike the 2 other tests before and after this one, it doesn't restore the old version from backup and leaves the empty quickmail directory which causes the "missing from disk" error.)

    I don't understand how you are able to successfully install/upgrade from this zip file. Are you running on a Mac (which might automatically hide this directory)?

  • Picture of David Elliott
    Fri, Jul 11, 2014, 5:08 AM
    Hello Wendell,
    I am currently looking into this, but to answer your previous question, it probably is because we're running on Mac's
1 2 3 4 5 6 7 8
Please login to post comments