Blocks ::: block_quickmail
Maintained by Buddy Ethridge, Robert Russo
A block that provides selective, bulk emailing within courses. Developed by LSU.
Latest release:
3575 sites
100 fans
Current versions available: 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.

Potential privacy issues

The Privacy API is not implemented in this plugin.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


Buddy Ethridge (Lead maintainer)
Robert Russo: Lead Maintainer
Philip Cali: Former Lead Developer
jason peak: Former maintainer
David Elliott: Former maintainer
It's me!
Chad Mazilly: Former Maintainer
Please login to view contributors details and/or to contact them

Comments RSS


  • Tue, Aug 21, 2012, 1:16 PM
    Hi. Found this bug in Moodle 2.3.1

    Debug info:
    Error code: codingerror

    Stack trace: ◦line 454 of /lib/ddl/sql_generator.php: coding_exception thrown
    ◦line 699 of /lib/ddl/sql_generator.php: call to sql_generator->getFieldSQL()
    ◦line 522 of /lib/ddl/database_manager.php: call to sql_generator->getAddFieldSQL()
    ◦line 52 of /blocks/quickmail/db/upgrade.php: call to database_manager->add_field()
    ◦line 811 of /lib/upgradelib.php: call to xmldb_block_quickmail_upgrade()
    ◦line 360 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
    ◦line 1524 of /lib/upgradelib.php: call to upgrade_plugins()
    ◦line 329 of /admin/index.php: call to upgrade_noncore()
  • Wed, Aug 22, 2012, 3:24 PM
    Hi, when is it coming for Moodle 2.3.1?
  • Wed, Aug 22, 2012, 8:28 PM
    It's been a while since I've updated this guy on contrib. This version adds backup and restore of email history and fixes the upgrade errors. Thanks.
  • Thu, Aug 30, 2012, 1:20 PM
    Hi I have some bugs.

    # Time Memory Function Location
    1 0.0029 225136 {main}egg ..\index.php:0
    2 0.5032 13569168 upgrade_noncoreegg ..\index.php:329
    3 0.6025 13591352 upgrade_pluginsegg ..\upgradelib.php:1524
    4 0.6025 13591352 upgrade_plugins_modulesegg ..\upgradelib.php:358
    5 0.6997 13597264 require( 'C:\wamp\www\moodle\mod\quickmail\version.php' ) ..\upgradelib.php:531

    Debug info: Missing version value in version.php
    Error code: detectedbrokenplugin
    Stack trace:
    line 546 of \lib\upgradelib.php: plugin_defective_exception thrown
    line 358 of \lib\upgradelib.php: call to upgrade_plugins_modules()
    line 1524 of \lib\upgradelib.php: call to upgrade_plugins()
    line 329 of \admin\index.php: call to upgrade_noncore()

    Some help please!
  • Thu, Aug 30, 2012, 1:22 PM
    Invalid get_string() identifier: 'modulename' or component 'mod_quickmail'. Perhaps you are missing $string['modulename'] = ''; in mod/quickmail/lang/en/quickmail.php?
    line 6619 of \lib\moodlelib.php: call to debugging()
    line 7243 of \lib\moodlelib.php: call to core_string_manager->get_string()
    line 2147 of \lib\pluginlib.php: call to get_string()
    line 1400 of \lib\pluginlib.php: call to plugininfo_mod->init_display_name()
    line 1460 of \lib\pluginlib.php: call to plugininfo_default_factory::make()
    line 2120 of \lib\pluginlib.php: call to plugininfo_base::get_plugins()
    line ? of unknownfile: call to plugininfo_mod::get_plugins()
    line 118 of \lib\pluginlib.php: call to call_user_func()
    line 296 of \lib\pluginlib.php: call to plugin_manager->get_plugins()
    line 314 of \admin\index.php: call to plugin_manager->all_plugins_ok()
  • Fri, Aug 31, 2012, 8:38 PM

    It looks like you've tried to install quickmail in the mod folder? Please verify that the quickmail directory is in your blocks directory.

  • Tue, Sep 4, 2012, 10:51 PM
    We have Quickmail installed in Moodle 2.3.1. It works for teachers, but students get the following message:

    There are no users you are capable of emailing.

    More information about this error

    Debug info:
    Error code: no_users
    Stack trace:
    line 467 of /lib/setuplib.php: moodle_exception thrown
    line 121 of /blocks/quickmail/email.php: call to print_error()

    In the permissions students are allowed to send email with quickmail (and just to be sure I allowed it for all authenticated users, but that did not help). Where does the root of the issue lie?
  • Thu, Sep 6, 2012, 10:14 AM
    Hi Philip. My mistake!! Everything is Ok.

    I would like to ask you: It is possible to do things like this in the email?

    Dear --user.lastname--, .....

    And use the fields of user table (by example).

    thxs a lot for your help!!!

    psd.I don't want to use Outlook.
  • Wed, Sep 26, 2012, 3:55 AM
    Is there any way to add the Quickmail block to the front page in 2.3.1+? It's not listed under the Add a Block drop down list.
  • Fri, Oct 19, 2012, 9:14 PM
    Hi everyone, and thank you all who contributed to the developmnt of this really usefull block.

    Could you please help me?
    I am using version 1.9.18 and have the following issue:
    Initially I had SMTP lines filled with my actul email data, SMTP host, username, password etc. With that I trided couple imes to send email to 44 users, about 8 of them are my test users, but I had lots of error messages and only 5 users, whic are my test users, and error report gave me 39 users as " users who not sent the email" . Then I deleted the SMTP details and tried again. First time the list of users who were not sent e-mails was 22, then I checked the boxes of these 22 users and re-sent the email again, the nest error report gave me 12 users as " users who not sent the email", then I re-sent these 12 guys, then the next report gave me about 6 users. then, 3 then 1. What could be the problem? Please help.
  • Thu, Nov 8, 2012, 1:48 AM
    When a student attempts click compose in Quickmail (block), they receive an error: There are no users you are capable of emailing.
    They have been given permission within the course to use Quickmail as well as at the site level. Help, please.
  • larry's pix
    Thu, Nov 29, 2012, 10:05 PM
    I have a unique situation. Instructors send a copy of a report to students using the Quickmail block. A site admin collates the reports by locating them in an uploaded file area. I would like to modify the code in the Quickmail block to have all (or some) messages sent to students to also be sent to this site admin. The email address can be hard-coded (eg. a@b.edu). It could be setup like choosing to send a copy to the message author (using a radio button approach), or by simply including the code to have all messages copied to this admin. Would actually prefer the radio button approach of selective copying to the hard-coded admin. Can you suggest a change in the code (of quickmail/mail.php I think) thatmight allow me to do this? Thanks in advance.
  • Tue, Jan 15, 2013, 1:00 AM
    What is the release date for version 2.4?

    thank you
  • Fri, Jan 18, 2013, 10:43 PM
    After sending an e-mail using Quickmail, the View History screen is opened. There is not a good way to navigate back to your course from the View History screen after your e-mail is sent. Is there are way to add a, "Return to your Course" link to that screen?
  • My picture
    Wed, Jan 23, 2013, 11:51 PM
    At the University of Dundee we are using Quickmail with the course format 'collapsed topics'.
    Quickmail stops working with that format and the information that I get in the debugger is:
    ! ) Fatal error: Call to a member function get_record() on a non-object in C:\wamp\www\moodle_LZ\blocks\quickmail\config.php on line 14
    Call Stack
    # Time Memory Function Location
    1 0.0015 485976 {main}egg ..\email.php:0
    2 0.2445 24466448 core_renderer->headeregg ..\email.php:296
    3 0.2464 24468088 core_renderer->render_page_layoutegg ..\outputrenderers.php:637
    4 0.2472 24556168 include( 'C:\wamp\www\moodle_LZ\theme\cover\layout\general.php' ) ..\outputrenderers.php:685
    5 0.2472 24556376 moodle_page->has_navbaregg ..\general.php:3
    6 0.2472 24556376 navbar->has_itemsegg ..\pagelib.php:659
    7 0.2476 24563808 global_navigation->initialiseegg ..\navigationlib.php:2679
    8 0.3799 36252616 global_navigation->format_display_course_contentegg ..\navigationlib.php:1153
    9 0.3806 36290080 require_once( 'C:\wamp\www\moodle_LZ\course\format\topcoll\lib.php' ) ..\navigationlib.php:1390
    10 0.3810 36318824 require_once( 'C:\wamp\www\moodle_LZ\blocks\quickmail\config.php' ) ..\lib.php:23

    It seems that this is the line that gives the problem:
    if (!$course = $DB->get_record('course', array('id' => $courseid))) {
    print_error('no_course', 'block_quickmail', '', $courseid);

    Could it be that this course format is seemed as if there is no course, and the error happens?
    I have no idea of how to fix it. Any help is appreciated.
Please login to post comments