Enrolment ::: enrol_invitation
Maintained by Jérôme Mouneyrac
Send personal course invitation to some users by email.
Latest release:
47 sites
20 fans
Current versions available: 1

Invitation Enrolment Moodle Plugin

Download the last version


This is a none-core contributed plugin. You are welcome to do Pull Request on Github, to report issues, however no support is guaranteed.


With this enrolment plugin, teacher will be able to send personal invitation to some users by email. Each email contains a link with an invitation token with unique usage. When the user clicks on the link, (s)he needs to login/create an account, then (s)he is automatically enrolled into the course. (S)he is assigned a default role. The default role can be changed in the enrolment instance config page.

Only a limited number of invitations can be sent per course/day. However you can change the limitation. Moreover used invitations are not count.


  1. Add the plugin into /enrol folder.
  2. Enable the enrolment plugin and set it up. It is quite similar to other enrolment plugins.


UCLA has released their own version of this plugin:

If you have any problem, check this version. It is more recent and it has more features. Note that I am looking for someone taking over the maintenance of this plugin (i.e. becoming the new lead maintainer) . You could start by merging UCLA changes into it and check it works on all Moodle branches smile


This plugin is part of set Seeking new maintainer.


Screenshot #0
Screenshot #1
Screenshot #2


Jérôme Mouneyrac (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Mon, Aug 11, 2014, 3:48 AM
    I took liberty and compiled an edited version of the Invitation Enrollment plugin that runs on Moodle2.6, Moodle2.7, and Moodle2.7.1. I also added a multiple email window. You can download the edited plugin from here: Enjoy, Eugene
  • Thu, Nov 6, 2014, 1:40 AM
    Dear Eugene Matusov,

    Your contribution is much appreciated.
    Working just fine on: Moodle 2.6.5 (Build: 20140908)

  • Fri, Nov 7, 2014, 7:17 PM
    Hi Eugene, thanks for your contributions. Maybe would you like to become the lead maintainer of this plugin? I am looking for a new maintainer for this plugin.
  • Sun, Sep 20, 2015, 4:42 AM
    I had forked repository and updated plugin to be compatible with Moodle 2.9 ( Pull request for join with main brunch was made a month ago, but no reply received yet.
  • Sun, Feb 14, 2016, 6:27 AM
    Dear Yurij, I love your plugin. I tried it on Moodle 3.0.2 and it does not seem to work. Can you check if it and if needed, fix it, please? Thanks, Eugene
  • Thu, Feb 18, 2016, 3:52 AM
    I fixed the invitation plugin updated by Yurij, so it starts working for me (Moodle 3.0.2, PhP 7.0.3 64-bit, MySQL 5.7 64-bit, Windows 2012R IIS8.5 64-bit, 16GB RAM) -- I can send invitation emails through it now:

    I edited:
    1) enrol\invitation\locallib.php on line 155: $invitation->subject = $data->subject;//cut the period before =
    2) enrol\invitation\locallib.php after line 200, I added: $contactuser->id=-99;
  • Fri, Apr 15, 2016, 4:39 PM
    Great plugin.
    But I somehow assumed, that the expiration time starts when the user accepts the invitation, not when the invitation is sent. Would this be possible with this plugin? ( I am using the modified version from Yuriy for Moodle 2.7)
    Thanks to anyone who can help me, Brigitte
  • Sat, Apr 16, 2016, 5:22 AM
    I do not think it is possible, because plugin send emails immediately after submitting list of emails, but you can not know when addressee will read it (unless you will request reading confirmation which is not used widely). So I think it will be very hard to implement this for this plugin.
  • Sat, May 21, 2016, 4:39 AM
    Many thanks, Yuriy and Eugene, for your work on this plugin! I was happy to get it working in 2.9, especially the ability to paste multiple addresses from Excel.
  • Wed, May 25, 2016, 2:38 PM
    Dear Yuriy!
    We are using your Plugin ( for Moodle 2.7.2
    But the automatically expiration date doesn't start automatically. It works that the user receives the note of the expiration date in the mail after sending Invitation, but after signing into the course, the course is non stop available for this user. And I have no clue why it doesn't work.

    Is there anything we missed to install? Thanks to anyone who can help me out!!

  • Mon, May 30, 2016, 1:40 AM
    I am interested in contributing towards this plugin.
  • Wed, Jun 1, 2016, 1:58 PM
    Chintan Zaveri, welcome! Use github, make your fork or join and make a brunch - then ready - we will do merge.
  • Fri, Sep 14, 2018, 8:43 PM
    Hello, will this plugin be upgraded to Moodle 3 and further?
  • Thu, Jan 23, 2020, 11:59 PM


    Is it possible to use in Moodle 3.6.2 (Build: 20190114) ??
  • Wed, Jul 1, 2020, 2:38 AM
    Is there any update??????
1 2 3
Please login to post comments