hrimhari / moodle-auth_emailadmin

Moodle plugin to provide email self-registration with admin confirmation
GNU General Public License v3.0
14 stars 20 forks source link

Confirmation email not sending to user #36

Closed MakeTimeMisterB closed 4 years ago

MakeTimeMisterB commented 4 years ago

I'm wondering what would stop the confirmation (ie "welcome") email from sending. I followed the INSTALL file. When I tried to register as a new user, from another computer, it all worked, but no email came through once I confirmed the account (as an admin on the site).

I decided to install the original lang/en/auth_emailadmin.php file. When I did so, it worked. So, went back to my "edited version" that put my info in. I did notice that I forgot to escape one of the single quotes - so I did that. Tested again and no email came through. I tried a different email account. Still no "welcome" email.

I decided to try reinstalling original lang/en/auth_emailadmin.php again. This time it didn't work. Nothing. I should add that I was following the instruction to purge caches after uploading the auth_emailadmin.php file each time. I'm completely stuck now. Any ideas?

MakeTimeMisterB commented 4 years ago

I'm not sure why It wasn't working with the original file, but I went back through the edited version of auth_emailadmin.php and found 2 more single quotes I neglected to escape. After uploading and purging cache it worked!