Ā© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
2 replies
ŁeandroØFF

šŸ‘‰ Email template not working with custom SMTP server (links not clickable in Gmail)

Hey everyone, I could really use some help with my SMTP setup and email templates.

I’m using my own SMTP server from Hostinger, and I’ve already configured everything correctly under Authentication → SMTP Settings in Supabase. The emails are being sent successfully — I receive them in Gmail with no problem.

However, there’s a critical issue:
šŸ“© The action buttons in the emails (like ā€œReset Passwordā€ or ā€œConfirm Emailā€) are not clickable in Gmail.
The email arrives, but the <a> link in the HTML template doesn’t behave as an actual link, so users can’t reset their password or confirm their account.

I tried editing the default template to use different tags like {{ .URL }}, {{ .ConfirmationURL }}, and even simplified plain links, but Supabase keeps returning this error when saving the template:

Failed to validate template: Unable to validate spam

This happens no matter what tag I use, even when the HTML is very basic.

So right now I’m stuck — the SMTP connection works fine, but the Supabase template editor won’t let me save a valid version, and the default one makes the links unclickable in Gmail.

Any idea what could be causing this?
Could it be something related to the Supabase spam validator or the way Gmail renders the template?

Here’s what I’ve already tried:

Resetting the template to default and re-saving;

Using the .URL, .ConfirmationURL, and .EmailChangeURL placeholders;

Testing plain text versions of the email (no HTML button);

Verifying my Hostinger domain (SPF, DKIM, DMARC all green);

Generating a new SMTP key just in case.

Any help or insight would be really appreciated šŸ™
This is the only thing keeping my authentication flow from working properly.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Not working: Send Email with correct Custom SMTP settings
SupabaseSSupabase / help-and-questions
4mo ago
Custom SMTP not working
SupabaseSSupabase / help-and-questions
2mo ago
smtp email server help.
SupabaseSSupabase / help-and-questions
4mo ago
OTP emails not working with Resend SMTP, is working fine with built-in Supabase SMTP
SupabaseSSupabase / help-and-questions
6mo ago