© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
1 reply
Kurt

Unable to Send Auth Emails via Sender.net SMTP – Unexpected Failure

gm gm,

I am trying to configure Sender.net as a custom SMTP provider for authentication emails in my project, but I am unable to send any emails.

Settings used in Supabase:

* Sender email: no-reply@example.com (verified domain)
* Sender name: Example Auth
* SMTP host: smtp.sender.net
* SMTP ports tried: 587 (TLS/STARTTLS), 465 (TLS), 2525
* Username: smtp-user
* Password: correct SMTP password
* Secure: TLS/STARTTLS

Observed errors when sending test emails via Supabase:

{"code":"unexpected_failure","message":"Error sending confirmation email"}
{"code":"unexpected_failure","message":"Error sending confirmation email"}


or sometimes

{"code":"over_email_send_rate_limit","message":"email rate limit exceeded"}
{"code":"over_email_send_rate_limit","message":"email rate limit exceeded"}


Notes / Debug info:

* The same SMTP credentials work perfectly in a standalone Node.js test script from a local machine.
* Sender.net logs show no failed auth attempts when Supabase tries to send.
* Port 465 times out, port 587 returns
"unexpected_failure"
"unexpected_failure"
, and port 2525 also fails.
* The From email is verified and exists in MX; SPF, DKIM, and DMARC are correctly set.
* This suggests the connection may be blocked or failing from the Supabase cloud environment rather than an SMTP credential issue.

Could anyone advise how to debug SMTP connectivity from Supabase cloud, or a recommended workaround for using Sender.net as a custom SMTP provider for auth emails?

Thanks!
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

Cannot send invitation via SMTP
SupabaseSSupabase / help-and-questions
5mo ago
Emails-SMTP setting
SupabaseSSupabase / help-and-questions
5mo ago
Auth SMTP Reply-To
SupabaseSSupabase / help-and-questions
2mo ago
Still trying to send emails from SQL via Sendgrid
SupabaseSSupabase / help-and-questions
4y ago