add mailcatcher in dev

This commit is contained in:
2026-01-23 09:59:01 +01:00
parent a142c9388e
commit f05afd8491
3 changed files with 63 additions and 0 deletions
+6
View File
@@ -37,6 +37,12 @@ Rails.application.configure do
# Make template changes take effect immediately.
config.action_mailer.perform_caching = false
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: "localhost",
port: 1025
}
# Set localhost to be used by links generated in mailer templates.
config.action_mailer.default_url_options = { host: "localhost", port: 3000 }