Registration email is not sent



  • Hi,

    I am using v1.19.6 and creating a user/registration as described here https://fusionauth.io/docs/v1/tech/apis/registrations#create-a-user-and-registration-combined

    However, the verification email is not being sent for the new user registration. The user is seen as being unverified. I have pressed 'resend verification email', but still no email.

    a1c5078c-0dbc-4fd8-a9ef-63ae11121065-image.png

    Lastly, I am able to send 'reset password' email for the user, that works. Am I doing something wrong?

    Thanks,
    Ryan



  • 673d1d79-3096-47b0-8587-755093128afa-image.png

    I forgot to say that the tenant settings does enable the verification settings for the registration



  • I'm glad you tested that your SMTP settings are correct, that's always the first place to look. It's worth noting out that there are two kinds of verification:

    • user email verification, which is on the user object
    • registration verification, which is stored on the registration object

    Are you trying to send a user verification or a registration verification? (It looks like registration from the email template but the user verification from the 'email verification settings' screenshot.) It might be failing because the registration template is expecting variables not set by the user verification sending.

    I was able to get both email and registration verification messages using the API on 1.19.4. I just configured registration confirmation on the application -> registration tab.

    Screen Shot 2020-09-21 at 4.59.56 PM.png

    What version of FusionAuth are you running? Do you see any messages in the logs?



  • Hi, I have the same problem here. The tenant's SMTP setting are correct and test emails are successfully delivered. I'm evaluating the FusionAuth right now and often delete/re-register users with the same emails. Verification emails are delivered to all users but one. The only thing that distinguish the problem user from the others is the fact I initially registered him via Facebook identity provider, so his email was automatically verified. After that I deleted the user and trying to register with just email (not Facebook). And emails are not delivered. Manually sent SMTP test emails to that address also delivered successfully. I hope this help to investigate.


Log in to reply