How to setup custom SMTP from config.toml for local development setup? #27054
Replies: 3 comments 10 replies
|
Local dev uses an "in bucket"port for showing what would be sent in email. If you haven't changed the setting it should be on http://localhost:54324/ I believe. |
|
If we can't use custom STMP on CLI, then why is there a [auth.email.smtp] part on the config.toml ? |
|
To clarify both the original question and @PatoSala's follow-up: Local dev always uses Mailpit (inbucket) — regardless of what you set in The To answer @PatoSala directly:
Practical workflow: If you need to test real SMTP delivery locally, one workaround is to use a tool like Mailtrap or Resend with a test API key and configure it in your remote Supabase project's Auth settings directly via the dashboard. |
Uh oh!
There was an error while loading. Please reload this page.
I am using Supabase local setup and configuring email auth to send a confirmation email upon successful sign-up. How do I configure a custom SMTP in my local setup to send the emails? What configuration fields in config.toml control this?
All reactions