Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68178

Email-based self-registration confirmation email is not re-sent

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_36_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-68178-master
    • Hide

      Prerequisite

      1. Log in as an admin.
      2. Set up the Outgoing mail configuration (Site administration > Server > Outgoing mail configuration)
        NOTE: To properly configure the outgoing email,  you will need to set up a local SMTP server using mailcatcher (https://mailcatcher.me/) or alternatively you can use Gmail's SMTP servers (https://docs.moodle.org/39/en/Email_setup_gmail).
      3. Go to Site administration > Plugins > Manage authentication.
        • Enable 'Email-based self-registration'.
        • Set 'Self registration' to 'Email-based self-registration'.
        • Save changes.
      4. Log out.

      Test

      1. Click 'Log in'.
      2. Click 'Create new account'.
      3. Fill in the necessary fields and click 'Create my new account'.
        • make sure you received a confirmation email.
      4. Do not visit the link in the email.
      5. Attempt to log in as the user.
        • make sure that you get a message saying you need to confirm your login.
        • confirm there is a button allowing you to request the email be sent again.
      6. Click on the 'Resend confirmation email' button.
        • Confirm you get a message saying the email was sent.
      7. Check your email
        • confirm another email was sent.
      8. Visit the link in the email.
        • Confirm your account has been confirmed.
      Show
      Prerequisite Log in as an admin. Set up the Outgoing mail configuration ( Site administration > Server > Outgoing mail configuration) NOTE: To properly configure the outgoing email,  you will need to set up a local SMTP server using mailcatcher ( https://mailcatcher.me/ ) or alternatively you can use Gmail's SMTP servers ( https://docs.moodle.org/39/en/Email_setup_gmail ). Go to Site administration > Plugins > Manage authentication . Enable ' Email-based self-registration '. Set ' Self registration ' to ' Email-based self-registration '. Save changes. Log out. Test Click ' Log in '. Click ' Create new account '. Fill in the necessary fields and click ' Create my new account '. make sure you received a confirmation email. Do not visit the link in the email. Attempt to log in as the user. make sure that you get a message saying you need to confirm your login. confirm there is a button allowing you to request the email be sent again. Click on the ' Resend confirmation email ' button. Confirm you get a message saying the email was sent. Check your email confirm another email was sent. Visit the link in the email. Confirm your account has been confirmed.
    • 1
    • 4.0 holding pattern 3

    Description

      Using E-mail based self-registration.

      (Our Moodle-installations are used by medical centres sharing information. Because of the COVID-19 outbreak, users that want to resend the activation link, cannot do that, so that's why I bumped this up to critical).

      > User creates account
      > User receives confirmation e-mail but DOES NOT activate / click on the link in the e-mail
      > User logs in
      > User gets dialog to activate account or resend the activation mail
      > User presses button to resend the activation e-mail

      PROBLEM: second / reconfirmation email is not send.

      But when you go to admin/user.php and resend the confirmation from there (as admin), it works.

       

       

      Attachments

        Activity

          People

            Geshoski Mihail Geshoski
            jorritdeklerk Jorrit de Klerk
            Mathew May Mathew May
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            2 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14/Sep/20

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 42 minutes
                1h 42m