5

I initialized a new Strapi server and with different databases and when registering a new user I keep getting the same "message": "Email is already taken" error. I used a different username and different email each time. I also couldn't get the email confirmation to work at all.

reactTech
  • 73
  • 2
  • 4

1 Answers1

5

I had this exact issue, here is how I solved it. You have to insure that you give Strapi native email plugin a VALID email address.

  1. In the admin panel goto Settings -> Advanced Settings -> turn on Email Confirmation and hit Save.

enter image description here

  1. Under settings -> Email Templates -> for both Email Address Confirmation and Reset Password provide a valid email, make sure that it's a working and valid email. If not you will keep getting that error. enter image description here

Strapi has a built in email plugin that manages emails. You can also use a bunch of 3rd party email services to better manage your email.
Optional Strapi Email Plugins

Tellisense
  • 1,858
  • 12
  • 11
  • 1
    Thanks a bunch man, that fixed my issues!! – reactTech Jan 16 '22 at 17:35
  • 1
    not working on my case – Infostans Feb 10 '22 at 09:12
  • that saved my life lol, it worked here thanks! – Alexandre Paiva Mar 23 '22 at 16:41
  • After I turn that on, newly registered users are forced to confirm their emails. But I don't really want that... In my app, unconfirmed users can continue using the app. Is there a way to adjust this? Or is there a way to send email confirmation programmatically (if yes, I can turn the setting off and send an email with the code)? Thanks – Lam Le Jul 04 '22 at 17:26