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:
or sometimes
Notes / Debug info:
Thanks!
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
or sometimes
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", 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.
Thanks!