Email-based self-registration with admin confirmation

Authentication ::: auth_emailadmin
Maintained by Felipe Carasso
Provides email-based self-registration with admin confirmation instead of user confirmation.
Latest release:
1376 sites
104 fans
Current versions available: 5

WARNING: Moodle 3.6 introduced a "Resend Confirmation" feature that enables unconfirmed users to self-confirm. A bug is opened with Moodle to fix this regression:

You can manually apply the patch while Moodle is not fixed upstream. See

Please read the INSTALL file carefully

Moodle plugin to provide email self-registration with admin confirmation.

The confirmation email is sent to the main admin account's email address.

When the admin clicks on the confirmation link, a "welcome" email is sent to the user.

Email body needs to be customized within the language file.

Based on default email-based self-registration module.

What's new in 1.4.4

fix(ISSUE-29): repairs config reference for Captcha after Settings API migration

What's new in 1.4.3
fix(ISSUE-17): repairs lock user fields, db update
feat(ISSUE-18): adds support for notifying users with user update capability
fix(ISSUE-21): updates config to use settings api
fix(ISSUE-25): makes use of lib function to gather profile fields

What's new in 1.4.2
fix(ISSUE-26): adds login and capability check to confirm.php (fixes phantom user-confirm)


Screenshot #0
Screenshot #1


Felipe Carasso (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Tue, Jun 9, 2015, 4:40 PM
    Hi Felipe, thanks for your prompt answer! smile
  • Thu, Jul 9, 2015, 6:03 PM
    Hi Felipe, The plugin is great but is there a way of specifying this as an option only for one specific course?
  • Fri, Jul 10, 2015, 8:37 PM
    Hi James, unfortunately there's no such option. The plugin works system-wide.
  • Just wondering . . .
    Fri, Jul 24, 2015, 11:41 AM
    I've just posted here:
    Wondering if there is a way to have notifications sent to teachers on self enrol of a student.
  • Fri, Aug 21, 2015, 3:20 AM
    Just gave it a try on moodle 2.9. The plugin installed just fine. But, the e-mail was never send.
  • Wed, Aug 26, 2015, 9:41 PM
    Hi Felipe,
    I need a functionality that exactly described by Kirill AstashovВт., 30 дек. 2014, 19:49:

    "I've added a new feature to the plugin which allows admins to define who will receive confirmation emails.
    - Added a new capability "auth/emailadmin:receiveemails" in the system context,
    - Added a new selector in config.html to define who will receive emails, with the following options:
    1. All site admins,
    2. Only the first site admin,
    3. Users with the "auth/emailadmin:receiveemails".
    - Added code to support the new setting and select users accordingly."

    or at least I need to have a possibility to manually add specified email dresses of other site admins for receiving confirmation emails.
    Please, tell me how can I solve this demand?
  • Wed, Aug 26, 2015, 10:00 PM
    Hi Oleg,
    As I mentioned before, Kirill never pushed his changes or gave me any way to integrate them.
    I'll see if I can dedicate some time to add this feature this week.
    As an alternative, it's possible to do a quick change in the plugin's code to have it send the email to all admins.
    Best regards,
  • Thu, Aug 27, 2015, 8:21 PM
    Felipe, it will be just great of you! Waiting for your solution.
  • Mon, Sep 14, 2015, 11:44 AM
    I just delivered a new version allowing some different strategies for receiving registration notification. It's not as sofisticated as Kirill's proposition, but I hope that will help.
  • Sun, Sep 20, 2015, 11:14 PM
    Felipe, I totally satisfied with receiving confirmation emails by admins. Thank you a lot!
  • Thu, Oct 29, 2015, 8:47 PM
    Hello, i have problem with this plugin. Problem with emails. User can register but he doesn't receive email from system. Admin received email and it is ok. But user doesn't. On screen after registration display "Tried to send you an email but failed!". On server where i installed moodle there is no SMTP service. I am using google mail. Should i configure something extra for this plugin ?
  • Tue, Nov 17, 2015, 1:13 AM
    Hello - I am experiencing the same problem as Daniel G in October. The admin does get a message, but the user sees an error message on screen - "Tried to send you an email but failed!" - which suggests the user needs to try again. I have SMTP configured and running for the admin email. Is some helpful message meant to be displayed or emailed/sent to new user?
  • Tue, Nov 17, 2015, 1:38 AM
    Re: "Tried to send you an email but failed" (Daniel G and Alan Cherwinski)
    I can't help with that as I can't reproduce the problem. The best I can suggest is to ensure the server can send email messages to the concerned users, i.e. using command-line 'mail' from the same OS account that runs Moodle (could be www-data). If Moodle can't send email to a given address, most likely the server and/or the OS account itself can't.
  • Tue, Dec 15, 2015, 3:37 PM
    Hi, I want to ask about notification email for admin and user. How to modify user data that sent to admin email when user registered? The user data is too many, such as:

    id: 30
    auth: emailadmin
    confirmed: 0
    policyagreed: 0
    deleted: 0
    suspended: 0
    mnethostid: 1

    I just want to display first name, surname, email, password and custom user field only.

    One more question, after admin click on the the confirmation link, the notification email should be sent to user, but the user did not received the email, and sometimes it take few hours for user to received the email.

    Please help, thanks
  • Tue, Dec 15, 2015, 10:28 PM
    Hi Muhd,

    For now, you'd need to modify the plug-in's code (auth.php) to have your custom user info available to the message. I'll evaluate the possibility of making that available on the next version.

    Intermittent email delivery is not related to this plug-in, but to how Moodle, PHP and email servers in general deal with email messages.

    Best regards,
Please login to post comments