Moodle Plugins directory: QuickmailSMS | Moodle.org

QuickmailSMS
Blocks ::: block_quickmailsms
Maintained by
Paul P.
A slight modification of quickmail to allow teachers to send text messages to users.
Latest release:
24 sites
126 downloads
9 fans
Current versions available: 4
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.
***BE SURE TO DELETE ANY EXISTING INSTALLATION OF THE QUICKMAILSMS BLOCK BEFORE UPGRADING***
Go to Blocks > manage blocks > Delete, next to quickmailsmssms
______________________________________________________________________
INSTALLATION
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:
______________________________________________________________________
CONFIGURATION - BLOCK WILL NOT WORK WITHOUT THE FOLLOWING
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...
AT&T ~@txt.att.net~
All Tell ~@@message.alltel.com~
Boost ~@myboostmobile.com~
Cellular South ~@csouth1.com~
Centennial Wireless ~@cwemail.com~
Cincinnati Bell ~@gocbw.com~
Cricket Wireless ~@sms.mycricket.com~
Metro PCS ~@mymetropcs.com~
Powertel ~@ptel.net~
Qwest ~@qwestmp.com~
Rogers ~@pcs.rogers.com~
Sprint ~@messaging.sprintpcs.com~
T-Mobile ~@tmomail.net~
Suncom ~@tms.suncom.com~
Telus ~@msg.telus.com~
U.S. Cellular ~@email.uscc.net~
Verizon ~@vtext.com~
Virgin Mobile USA ~@vmobl.com~
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
______________________________________________________________________
NOTES:
1 - Additional Providers
If you think your students have other providers that are not listed, find their email-to-sms address at http://www.emailtextmessages.com/ 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.
All credit and kudos goes to their team. I only changed a few items to enable SMS functionality.
***BE SURE TO DELETE ANY EXISTING INSTALLATION OF THE QUICKMAILSMS BLOCK BEFORE UPGRADING***
Go to Blocks > manage blocks > Delete, next to quickmailsmssms
______________________________________________________________________
INSTALLATION
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:
______________________________________________________________________
CONFIGURATION - BLOCK WILL NOT WORK WITHOUT THE FOLLOWING
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...
AT&T ~@txt.att.net~
All Tell ~@@message.alltel.com~
Boost ~@myboostmobile.com~
Cellular South ~@csouth1.com~
Centennial Wireless ~@cwemail.com~
Cincinnati Bell ~@gocbw.com~
Cricket Wireless ~@sms.mycricket.com~
Metro PCS ~@mymetropcs.com~
Powertel ~@ptel.net~
Qwest ~@qwestmp.com~
Rogers ~@pcs.rogers.com~
Sprint ~@messaging.sprintpcs.com~
T-Mobile ~@tmomail.net~
Suncom ~@tms.suncom.com~
Telus ~@msg.telus.com~
U.S. Cellular ~@email.uscc.net~
Verizon ~@vtext.com~
Virgin Mobile USA ~@vmobl.com~
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
______________________________________________________________________
NOTES:
1 - Additional Providers
If you think your students have other providers that are not listed, find their email-to-sms address at http://www.emailtextmessages.com/ 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.
Contributors
Paul P. (Lead maintainer)
Please login to view contributors details and/or to contact them
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.
Thanks,
Paul
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?
In the general instructions above, you can find an updated list of providers. Cricket Wireless is in the list.
can either of these work with 3.2???
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.
I am having an issue where the plugin is sending emails ok but it never sends SMS
If an email is sent by a teacher in Moodle would students responses come back to the teacher in Moodle?
Thanks, GTI
Cellcom ~@cellcom.co.il~
Pelephone ~@pelephone.co.il~
Partner ~@partner.co.il~
get_all_user_name_fields() is deprecated. Please use the \core_user\fields API instead
line 3384 of /lib/deprecatedlib.php: call to debugging()
line 414 of /blocks/quickmailsms/lib.php: call to get_all_user_name_fields()
line 439 of /blocks/quickmailsms/lib.php: call to quickmailsms::get_all_users()
line 106 of /blocks/quickmailsms/email.php: call to quickmailsms::get_non_suspended_users()
Any suggestions are welcome.