Blocks: QuickmailSMS

Maintained by My Hero Paul P.
A slight modification of quickmail to allow teachers to send text messages to users.
70 sites
4 fans
This is an unabashed hack of the Original Quickmail block from Louisiana State University.  

All credit and kudos goes to their team.  I only changed a few items to enable SMS functionality.


Go to Blocks > manage blocks > Delete, next to quickmailsmssms



Installation is like any other block - upload it to moodle/blocks and go to Admin->Notifications.  Basically, it works just like the old quickmail block:  


You create three custom profile fields with the following specifications:

Field 1

type - checkbox
shortname - opt
name - whatever you feel appropriate, such as "Allow texts sent to your phone"
required - no
locked - no
unique - no
display on signup - yes
Who is the field visible to? - visible to user
checked by default - No

Field 2

type - dropdown menu
shortname - mobileprovider
name - whatever you feel appropriate, such as "Cellular Provider"
required - no
locked - no
unique - no
display on signup - yes
Who is the field visible to? - visible to user
menu options -
Please select one...
All Tell
Cellular South
Centennial Wireless
Cincinnati Bell
Cricket Wireless
Metro PCS
U.S. Cellular
Virgin Mobile USA

Default value - Please select one...

Field 3

type - text input
shortname - mobilephone
nrequired - no
locked - no
unique - no
display on signup - yes
Who is the field visible to? - visible to user
Display size - 10
Maximum Length - 10



1 - Additional Providers
If you think your students have other providers that are not listed, find their email-to-sms address at and add them in with the format

Name ~@address~

2 - Profile Field Category
I find it easier to create a new Profile Field Category called "SMS Messages" and put the three fields in there.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5


My Hero
Paul P. (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • My Hero
    Wed, 26 Nov 2014, 9:19 PM
    Please refer to the internal file - you have to delete any previous installation before re-installing this plugin.
  • Cumali YAŞAR
    Wed, 26 Nov 2014, 9:24 PM
    Thank you. Problem is solved .
  • Cumali YAŞAR
    Wed, 26 Nov 2014, 9:25 PM
    Where can I change the settings for the service APIs.
  • My Hero
    Wed, 26 Nov 2014, 9:31 PM
    You can add as many service providers as you like in the profile field using the format

    providername ~@providerdomain~



    A list can be found here:
  • Cumali YAŞAR
    Wed, 26 Nov 2014, 9:41 PM
    Thank you very much. Hand your health. You helped us a lot. How can we enter our own service provider for SMS. We live in Turkey.
  • My Hero
    Wed, 26 Nov 2014, 11:23 PM
    I am sorry, but I do not know who the service providers are in Turkey. You should be able to find out their email-to-sms gateway address on their website, but if not, you may have to contact them to find out. If the number of digits is different than 10 (which is the US standard) you will have to make adjustments accordingly in the mobilephone profile_field settings for Display Size and Max Length .
  • Picture of James Foster
    Tue, 13 Jan 2015, 11:01 PM
    Do know when a 2.8 version is coming out?
  • Picture of James Foster
    Wed, 14 Jan 2015, 3:48 AM
    I've installed Quickmail. I've followed all the steps, but I get the following error message no_agreement . What does this mean and how may I correct the issue?
  • My Hero
    Wed, 14 Jan 2015, 5:38 AM
    Hi James,

    Although I won't be able to test the plugin in 2.8 right away, it may work since there weren't too many changes in the block system from 2.7 to 2.8.

    Regarding the error, in order for the plugin to work, you have to create three profile fields, and then, at least one of them has to agree to the service. Please see the documentation for details.

    If you test it in 2.8, please let me know what you find.

  • Picture of Carlos Cruz
    Fri, 13 Mar 2015, 11:35 AM

    I have installed this plugin on Moodle 2.8 (using both MySQL and PostgreSQL). On the MySQL installation, the plugin runs perfectly fine but on the PostgreSQL, I get the following message: "Error reading the database." Do any of you guys have any idea why this is happening or how to fix it?
  • Clint
    Wed, 6 Jan 2016, 4:49 AM
    Is there a version for Moodle 3.0?
  • My Hero
    Fri, 6 May 2016, 2:42 AM
    Hi Clinton,

    In the general instructions above, you can find an updated list of providers. Cricket Wireless is in the list.
  • Picture of Mr. Marc
    Sat, 21 Jan 2017, 10:53 PM
    Can you use the QuickMail Block along with this SMS block?? Any issues to be aware of ?
    can either of these work with 3.2???
  • My Hero
    Sun, 22 Jan 2017, 1:28 AM
    Hi Marc,
    I've used both in many courses and I've never had any conflict. I haven't tested either in 3.2, but they both work in 3.1 very well and I don't think there were any changes to the blocks API that would cause either to not work.
  • Picture of abanob mourkus
    Sun, 21 Jan 2018, 5:10 AM
    I am having an issue where the plugin is sending emails ok but it never sends SMS
1 2
Please login to post comments