Strapi Version: 4.3.4
Operating System: Local windows
Node Version: v14.15.3
NPM Version: 6.14.9
Yarn Version: NA
I have set up the email config in config/plugin.js with Sendgrid
- Tested sending an email with the plugin and it worked
- Tested resetting a password and got the forgot password email
- Enabled email confirmation in advanced settings
- Checked both sendEmailConfirmation permission for both roles permissions
I am not sure why the email confirmation is not being sent, while the forgot password email is being sent normally.
Can someone help me with this?
I also am seeing this. No email when a new admin user is setup/invited.
Hi @Thang_Le , @nebrekab ,
Did you manage to find why it wasn’t sent?
I am running in the same issue and my configuration of the email from, etc… seems fine.
My main confusion is if it’s necessary to explicitly call the “send-email-confirmation” endpoint or if a user registration should trigger it automatically?
Because it does works perfectly when I call the endpoint.
Yes, using endpoint after user creation will help.
Basically you need to use the afterCreate hook under arc/api/apiName/lifecycle.js file.
Create your send-email function and call it inside afterCreate hook.
@Thang_Le @nebrekab @alexandrephiev