Tutorial

Supabase Custom SMTP Setup (Auth Emails)

Supabase's default mailer is fine for testing, but it's rate-limited and shared. Here's how to switch it out.

By the Sendcorex team·Updated Sep 21, 2026·5 min read

Why the default mailer isn't enough for production

Supabase's built-in email sender works for local development, but it's heavily rate-limited and sends from a shared domain, so auth emails can land in spam or get throttled under real traffic. Custom SMTP fixes both.

Configure it

In the Supabase dashboard: Project Settings → Authentication → SMTP Settings, enable Custom SMTP and fill in:

FieldValue
Hostsmtp.sendcorex.com
Port587
UsernameYour Sendcorex API key
PasswordYour Sendcorex API key
Sender emailAn address on your verified domain, e.g. auth@yourdomain.com

Don't skip domain verification

Custom SMTP only helps if the sending domain is authenticated. Add the domain in Sendcorex first and publish the SPF, DKIM and DMARC records it gives you — otherwise you've just moved the deliverability problem, not fixed it.

Customize the email templates

While you're in Authentication → Email Templates, update the confirmation, magic link, and password reset templates to match your brand — the defaults are plain and generic.

Verify your domain in minutes

Add your domain, publish the DNS records, and point Supabase at the relay.

No credit card required