FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Resending email

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    2
    584
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lambert.torres
      last edited by

      Hi,

      If our connection to sendgrid is off while we had emails sent for email verification. Is there a way we can resend those emails for newly registered users?

      A 1 Reply Last reply Reply Quote 0
      • A
        Alex Patterson @lambert.torres
        last edited by

        @lambert-torres there is no queue that is kept, you would either need to look at the logs to specifically find the users during that time. Or follow the below steps.

        You can resend the verification emails for newly registered users. FusionAuth provides an API endpoint for resending a user registration verification email.

        https://fusionauth.io/docs/v1/tech/apis/users#resend-verification-email

        Here are the steps to follow if you want to manually verify:

        1. Use the PUT /api/user/verify-email?email={email} endpoint to request a new verification email. This will return a verificationId in the response.
        curl --location --request PUT 'http://localhost:9011/api/user/verify-email?email=<my_email@my_email.com>' \
        --header 'Authorization: <API KEY>' \
        --header 'X-FusionAuth-TenantId: <TENANT_ID>'
        
        1. The response should look like this:
        {
            "verificationId": "SOME_REALLY_LONG_ALPHANUMERIC_STRING"
        }
        
        1. Use the POST /api/user/verify-email?verificationId={verificationId} endpoint to mark the user as email verified via API.

        Please note that you need to ensure that you don't have skipVerification set to true when a user registers for an application via API and your application has verifyRegistration set to true. This can be set programmatically via the API or via the admin UI.

        For more details, you can refer to the FusionAuth documentation and the FusionAuth community forum.

        Please ensure that your connection to SendGrid is restored before attempting to resend the emails.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post