Error 504 when trying to send password reset email - JS Client

I have a website hosted by DailyRazor that connects to Supabase. While the website is in the development, I am running it on my own PC for testing. I've looked at the docs, asked AI, scanned the console output, and verified the database logs. I found nothing strange or helpful. My guess is the issue is incorrect SMTP settings.

I opened a ticket with DailyRazor to get their SMTP settings. I'll put their response in a comment below.

My Supabase SMTP settings are in a comment below.

The JS that gets the email address to send the link to is:
const email = document.getElementById('email').value.trim()


The JS code that tells Supabase to send the email is:
const { error } = await supabase.auth.resetPasswordForEmail(email, { })


The HTML code for the body of the page that gets the email address:
<body>
        <header></header>
        <main>
        <form id="reset-form">
            <input type="email" id="email" placeholder="you@example.com" required />
            <button type="submit">Send reset link</button>
        </form>
        <div id="msg"></div>
        </main>
        <footer></footer>
    </body>
Was this page helpful?