SupabaseS
Supabase5mo ago
seb1

OTP emails not working with Resend SMTP, is working fine with built-in Supabase SMTP

I just went through the Resend walkthrough to create an SMTP server with the supabase integration. Everything looks good and SMTP settings on supabase dashboard align with what I am seeing on Resend.

When I try to send an OTP email, there is a 500 in my Auth logs and the only info I get is
"msg": "500: Error sending magic link email",
"error": "gomail: could not send email 1: short response: 450",


There are no logs at all in my Resend dashboard so my intuition is that the error is being thrown somewhere in Supabase.

To isolate the issue I turned off the "Enable Custom SMTP" and everything worked fine again.

Any advice would be greatly appreciated.
Was this page helpful?