Mailpit not capturing security notification emails in dev
self-hostedCLI
Hello there!
I am trying to work and create some email templates for an app... So far, I was sucessful to make the following emails template to work and be previewed in mailpit.
[auth.email.template.invite]subject = "You have been invited"content_path = "./supabase/templates/send-invite.html"[auth.email.template.magic_link]subject = "Your 2FA code for login"content_path = "./supabase/templates/send-otp.html"[auth.email.template.confirmation]subject = "Welcome to Suav Beauty!"content_path = "./supabase/templates/send-signup.html"[auth.email.template.recovery]subject = "Your password change 2FA code"content_path = "./supabase/templates/send-reset-pass.html"
[auth.email.template.invite]subject = "You have been invited"content_path = "./supabase/templates/send-invite.html"[auth.email.template.magic_link]subject = "Your 2FA code for login"content_path = "./supabase/templates/send-otp.html"[auth.email.template.confirmation]subject = "Welcome to Suav Beauty!"content_path = "./supabase/templates/send-signup.html"[auth.email.template.recovery]subject = "Your password change 2FA code"content_path = "./supabase/templates/send-reset-pass.html"
(which does not make any sense, as the templates are at the same level as the
config.toml
config.toml
) but when it comes to this one here,
[auth.email.notification.password_changed]enabled = truesubject = "Your password has been changed"content_path = "./templates/password_changed_notification.html"
[auth.email.notification.password_changed]enabled = truesubject = "Your password has been changed"content_path = "./templates/password_changed_notification.html"
[auth.email.notification.password_changed]enabled = truesubject = "Your password has been changed"content_path = "./supabase/templates/password_changed_notification.html"
[auth.email.notification.password_changed]enabled = truesubject = "Your password has been changed"content_path = "./supabase/templates/password_changed_notification.html"
as my templates are all at the same folder and the above works for the other emails (but this returns an error saying that the email could not be found inside
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.