Email Templates don't work on production (when using supabase UI to change them) #29976
|
Hello, For my use case, I have to change the email template for password reset. Locally, I updated config.toml and used a .html file for my template, and it works perfectly. The mail I get in inbucket is exactly what I need. Now, when I copy my .html file and put it in the Supabase UI to change the email template in production as well, it doesn't work. It keeps sending the default template. There's nothing crazy about the template, it's mostly to change the link: Here is my function that sends the email: Am I doing something wrong ? Am I missing a step ? Edit: So maybe it's an issue with the way I ask for a password reset ? I can't find much else in the docs... |
Replies: 4 comments 2 replies
|
Have you edited the default template with a simple change to see if that works? |
|
Hey @GaryAustin1, thanks for your reply.
|
|
Are you sure you are updating the template on the correct project? or it could be that your email template is failing because of syntax error. |
|
✅ The solution to the issue! Save yourself days of headache 🧠💥 If you're dealing with the infamous on Next.js 14/15+: …especially in Next.js 14/15+ with Supabase and OAuth (Google, GitHub, etc.), then forget about chasing down 💡 Solution: Use Supabase's
|
Are you sure you are updating the template on the correct project? or it could be that your email template is failing because of syntax error.