Use MailHog in Rails development mode
25 April 2022 (Updated 25 April 2022)
On this page
Install MailHog
Configure ActionMailer
Add the following to environments/development.rb
:
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { address: '127.0.0.1', port: 1025 }
Tagged:
Rails tooling
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment