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


  • Thu, Feb 14, 2013, 1:26 AM
    Get the following error, but the message seems to be going out: Could not email {$a->firstname} {$a->lastname}.

    Moodle Ver. 2.3.3
    Quickmail Ver. 2012061112
  • Fri, Feb 15, 2013, 4:09 AM
    If you get this error:
    Coding error detected, it must be fixed by a programmer: Invalid field
    definition in table {block_quickmail_log}: XMLDB_TYPE_INTEGER field "alternateid" has invalid default

    to fix it, in db/install.xml, remove the two parts that say default="NULL"
  • Tue, Feb 19, 2013, 10:10 PM
    We're also wanting to use this with 2.4. Is it compatable? Great work!
  • Germán and Temudgin
    Sun, Feb 24, 2013, 3:12 AM
    I wanted to translate the quickmail block in AMOS (http://lang.moodle.org/), but the English language strings are not registered with AMOS. That usually means that there is something wrong with the code, that does not adhere to Moodle standars and prevents the automatic import of English Language files into AMOS (http://lang.moodle.org/mod/forum/discuss.php?d=2485).
    Would the developers please contact David Mudrak to find out the cause of the problem and fix it, as many people have expressed their interest to have this very useful block available in other languages besides English.
    Thanks in advance for your help.
  • Fri, Mar 1, 2013, 11:50 PM
    Would it be possible to have the ability to sort the 'Potential Recipients' list by first name, last name, ID#, etc ...
  • Thu, Mar 7, 2013, 12:53 AM
    We are using 2.3 Moodle and have installed your Quickmail block and love it!! In an earlier version of Quickmail... in the view history page, there was a hyperlink that said "Compose a New Email". In the newest version that link is not there. I looked at the code for when you had it earlier.

    Would I be able to add this code to the current "emaillog.php file and it work?

    /// links to compose new email
    echo '

    "id&instanceid=$instance->id\">".get_string("composenew", "block_quickmail").' ';


    Or is there more to the code to be added to make it work? Any help or insight would be much appreciated!! Many faculty used this feature but now you have to go back to the page and block to compose a new email message. Thanks for your help.

  • Tue, Mar 12, 2013, 12:27 AM
    For anyone else receiving the message "There are no users you are capable of emailing" the fix linked below worked for me.


    You have to replace out your email.php file with the fixed one and the language file. The fix requires a moderate amount of knowledge relating to patching / applying fixes from github.
  • Wed, Mar 13, 2013, 10:05 PM
    for all wich has problems with quickmail and collapsed topics in moodle 2.3 here ist a solution and i tested it and it works https://tracker.moodle.org/browse/CONTRIB-3805
  • Tue, Mar 26, 2013, 4:36 AM
    I installed quickmail in my moodle 2.2 and he doesn´t show me "use external email cliente to send this message" what´s wrong?
  • Frankie's the name, Moodle's my game!
    Sun, Apr 14, 2013, 6:39 PM
    Hiya. I've installed Quickmail on my Moodle 2.4 site. On the block. when I click the link "Compose new message", I get this error message: "Error reading from database". Please help. Any pointers to how to solve this is much appreciated. Quickmail is an essential communication tool for my Moodle site. I used it extensively on my Moodle 1.9.16 site, and so I am sorely missing this functionality in Moodle 2.4. Help!?
  • Peter Jonker
    Wed, Apr 17, 2013, 6:50 PM
    Also installed on 2.4.3 and having the same message as Frankie. When can we expect an updated version for 2.4 / 2.5 maybe. Thanks again for the good work! Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
    SELECT * FROM mdl_role WHERE id IN ()
    [array (
    Error code: dmlreadexception
    Stack trace:
    • line 426 of /lib/dml/moodle_database.php: dml_read_exception thrown
    • line 1023 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
    • line 1211 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
    • line 69 of /blocks/quickmail/email.php: call to moodle_database->get_records_select()
  • Tue, Apr 23, 2013, 7:38 PM
    Role names are not showing up in Role Filter (Compose an email). If a role has an alias then it shows, otherwise you get a blank value.
  • Thu, Apr 25, 2013, 6:35 PM
  • Tue, May 14, 2013, 2:36 PM
    Our moodle is v2.4.3, I download the quickmail v1.2.8 (2012061112) for Moodle 2.1, 2.2, 2.3.
    Debugging mode is turn on, after install it, the message is shown:
    The block quickmail does not define the standard capability block/quickmail:addinstance
    line 598 of /blocks/moodleblock.class.php: call to debugging()
    line 576 of /blocks/moodleblock.class.php: call to block_base->has_add_block_capability()
    line 1088 of /lib/blocklib.php: call to block_base->user_can_addto()
    line 1045 of /lib/blocklib.php: call to block_manager->user_can_delete_block()
    line 248 of /blocks/moodleblock.class.php: call to block_manager->edit_controls()
    line 953 of /lib/blocklib.php: call to block_base->get_content_for_output()
    line 1005 of /lib/blocklib.php: call to block_manager->create_block_contents()
    line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created()
    line 6 of /theme/canvas/layout/general.php: call to block_manager->region_has_content()
    line 804 of /lib/outputrenderers.php: call to include()
    line 734 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
    line 240 of /course/view.php: call to core_renderer->header()
    And I have patched CONTRIB-4278 above, the error message is still displaied when I click "Compose New Email"
    Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
    SELECT * FROM mdl_role WHERE id IN ()
    [array (
    Error code: dmlreadexception

    how to solve?

  • Wed, May 15, 2013, 11:52 PM
    We have been using the dev version (https://github.com/lsuits/quickmail/tree/2.4_DEV) of this block on Moodle 2.4.3 for a little while with very few problems. I am not sure that I'd use it in production, but it might work in a pinch to get you through.
Please login to post comments