moodletxt - SMS/Text Two-Way Messaging Module

Blocks ::: block_moodletxt
Maintained by In Paris, with a very large beer.Greg J Preece
moodletxt is a block that allows teachers and administrators to send SMS/text messages to their students directly from the Moodle system. The module supports both inbound and outbound messaging, text message status updates, user-personalised messages, message templates and signatures, personal addressbooks, and has full compatibility with user timezones. As of version 3, it also supports event-based messaging via the moodletxt+ message processor.
Latest release:
68 sites
12 fans
Current versions available: 4

moodletxt is a block that allows teachers and administrators to send SMS/text messages to their students directly from the Moodle system. It is available free of charge to all customers, and trial accounts can be provided on request. The module supports both inbound and outbound messaging, allowing teachers to text their students and receive replies without ever leaving Moodle. It supports text message status updates, user-personalised messages, message templates and signatures, personal addressbooks, and has full compatibility with user timezones. As of version 3, it also supports event-based messaging via the moodletxt+ message processor.

Please note: moodletxt does not yet operate with ConnectTxt USA. Additional development work is required to comply with regional regulations. Support for ConnectTxt USA will be added to a future release of moodletxt.

Latest News (2014-11-18)

A new patch has been released for Moodletxt. This patch adds compatibility for Moodle 2.7 and 2.8, and also fixes a number of minor bugs within the block.

  • Fixed issue on compose page where the signature checkbox always removed text from a message.
  • Fixed several minor rendering issues on compose page.
  • Fixed several rendering issues on account listing page that may occur on certain systems.
  • In Moodle 2.5 and above, jQuery is now loaded via Moodle's new jQuery loader mechanism. This helps prevent conflicts and removes the need for this to be controlled manually by the administrator.
  • Fixed incorrect title on inbound filter management page
  • Fixed a bug in the account settings page where the user searcher sometimes didn't show results.
  • Fixed the "last name" tag for merging contact details into messages.

We recommend that all users upgrade to the new patch when possible.

Previous News (2012-11-09)

moodletxt+, a message processor extension for moodletxt, is now available via! We are pleased to be the first registered plugin on to offer this service. You can find it in the messaging section of the plugins repository, here:

Important Notice for Upgraders from Moodle 1.9.x!

If you are upgrading from Moodle 1.9 to 2.3 and beyond, then Moodle requires that you first upgrade to Moodle 2.2, and then to 2.3 or above from there.  If you are planning such an upgrade, and this includes moodletxt, then you must upgrade moodletxt to version 3 when you upgrade your Moodle installation to 2.2, not after the upgrade to 2.3 or above. This is because Moodle's upgrade system changed with Moodle 2.3, and as a result moodletxt cannot support direct upgrades from Moodle 1.9 to 2.3 or above.

Legacy Moodle Versions

moodletxt is a well-established plugin, and has been continually upgraded since Moodle 1.5. The moodletxt installer for Moodle 1.9 will also run on Moodle 1.8 and 1.7 without issue. A deprecated version of moodletxt is also available for Moodle 1.5 and 1.6, though it must be stressed that this version is no longer supported. If required, it can be downloaded from the ConnectTxt website:



If you have any questions regarding the block, there are several methods you can use to get in contact with us. Greg J Preece, the block's developer, is an active user on the Moodle website, so feel free to message him directly. Alternatively, you can contact ConnectTxt via any of the following means:

Tel: +44 (0) 113 234 2111
Live Chat
Greg's Moodle Profile


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


In Paris, with a very large beer.
Greg J Preece (Lead maintainer): Developer
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Clayton Mitchell
    Wed, Aug 8, 2012, 3:18 AM
    Greg, thanks for responding. I am getting the error when trying to send a message. The error appears on the send step.
  • In Paris, with a very large beer.
    Fri, Oct 5, 2012, 4:54 PM
    Some of these were answered elsewhere, but just so that everyone can see the responses, I'll post them here too.

    Tony - Unfortunately I can only provide an upgrade route from 2.4 to 3.0, so it would be necessary to run the upgrade to 2.4 first.

    Clayton - I'm currently debugging the block for final release (no beta 3 guys, we're going straight to RC/gold). I've found some issues in the installer, and I've made a large number of fixes to the composition process (which is easily the most complex screen in the block) so hopefully the issue can be resolved. If you can provide me with any PHP specific errors from your site logs for the issue you were having, that would be very helpful.
  • In Paris, with a very large beer.
    Fri, Nov 2, 2012, 11:34 PM
    Just a quick note to say that we are aware of some issues when running the 3.0 block release on certain versions of MySQL. I am working on a fix and will be putting a patch live ASAP.
  • Picture of Chester Folming
    Fri, Apr 19, 2013, 6:21 PM
    Hi Greg

    Could this be used for institutions outside the U.K.?
    I currently work at an institution within education in Denmark and a sms service would be a nice addition to our Moodle environment.
  • BobBl
    Fri, May 24, 2013, 3:17 AM
    This product is owned by Blackboard and has and initial SET UP CHARGE of 5K... PLUS additional monthly changes for the number of users specified in their pro forma "services agreement" to receive TXT messages any Moodle server on which Blackboard's plugin is installed.

    Dr. Bob Blomeyer
    Online Teaching Associates
  • Wazza
    Tue, Jun 11, 2013, 7:29 PM
    @Bob Blomeyer,

    Thank you for this information. I hope the makers of this block can include this in the description, as it was difficult for me to find out what the costs are.
  • In Paris, with a very large beer.
    Wed, Jun 12, 2013, 12:39 AM

    Robert's information is not accurate. From back when ConnectTxt was Txttools, we have never had a monthly fee, nor a per-user charge. These things simply do not exist. The "set up charge" referred to is a yearly licence for our online software. If you would like accurate information on pricing and availability, please contact our sales team.

  • Picture of Louise Feeney
    Wed, Jul 17, 2013, 2:02 PM
    Hi there

    I'm currently using Moodle 2.3 and Moodletxt 3.0.4.

    I have sent a few messages from the Moodletxt block and all is working really well. However I’ve been in and out of the Inbound Messaging area a few times and unsure why I can’t view received txt messages within the Received Messages area.

    Under messaging (under the settings block) I can only view Popup notification and Email under configuration notification methods for incoming messages. Should MoodleTxt automatically appear under messaging when successfully installed?

    Any help or guidance would be greatly appreciated.
  • Picture of Chris Fryer
    Thu, Aug 29, 2013, 5:14 AM
    Hi Greg

    I'm trying to upgrade from moodletxt 2.4.3 (2012052301) to moodletxt 3.0.5 (2013071001) on Moodle 2.4.5+ and receive the following error:

    Fatal error: Call to undefined method database_manager::check_constraint_exists() in /srv/www/blocks/moodletxt/db/upgrade.php on line 243

    I've already upgraded Moodle from version 2.2 to version 2.4, and have only just seen the section in the release notes headed "IMPORTANT NOTICE FOR UPGRADERS FROM MOODLE 1.9.x" which states I should have upgraded to moodletxt 3.0.x *before* upgrading Moodle itself. That ship has sailed, unfortunately.

    Is there no way for me to upgrade moodletxt in-place now I've already gone to Moodle 2.4.5? I would hate to have to delete all data associated with the plug-in and start again.


  • Picture of Bobby Siegfried
    Sat, Oct 11, 2014, 3:36 AM
    Hi Greg,

    Are there any plans to release a 2.7.x compatible version? If so, what's the timeframe?

    Thanks very much,
  • In Paris, with a very large beer.
    Sat, Oct 11, 2014, 3:54 AM
    Hi Bobby. There's a 3.0.7 release of the block in the works that's nearly ready for release. I wanted to get it out back in August but another plugin needed more urgent work. Expect it to be made available ASAP. I also intend to check it against the Moodle 2.8 development line before release. The current version of Moodletxt Plus should work on pretty much any Moodle 2.x version you throw it at.


  • Picture of Denison Costa
    Sat, May 30, 2015, 5:47 AM
    Hello Greg , to use the moodletxt , need to buy an annual license ?

    Thank you, Denison
  • Picture of EaD|UNÍNTESE Ensino
    Thu, Nov 12, 2015, 8:05 PM
    Oi, este plugin pode ser utilizado no Brasil? Dúvida no envio da operadora... Obrigado. Atenciosamente Ariel Ribeiro / e-mail:
  • Picture of Richard Marais
    Thu, Feb 4, 2016, 7:18 PM
    Text Messaging Send Error

    There was an error communicating with the PageOne text messaging server. This could be due to a network problem or a problem with your PageOne account. If the problem persists, please report it to your system administrator with a copy of this error messag

    http_code: 0
    header_size: 0
    request_size: 0
    filetime: -1
    ssl_verify_result: 1
    redirect_count: 0
    total_time: 0.020634
    namelookup_time: 5.2E-5
    connect_time: 0.010481
    pretransfer_time: 0
    size_upload: 0
    size_download: 0
    speed_download: 0
    speed_upload: 0
    download_content_length: -1
    upload_content_length: -1
    starttransfer_time: 0
    redirect_time: 0
    certinfo: Array
    primary_port: 443
    local_port: 57563

    PLease help
  • Picture of Anne Botting
    Wed, Nov 28, 2018, 11:51 AM
    Hi, This looks like a great block. A few questions from this; are the outgoing SMS recorded in our database against the students? If so, how would we access and review the SMS history?
    If an email is sent by a teacher in Moodle would students responses come back to the teacher in Moodle?
    Thanks, GTI
Please login to post comments