mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
Add letter opener to view emails locally
This commit is contained in:
@@ -27,8 +27,9 @@ Rails.application.configure do
|
||||
end
|
||||
|
||||
config.action_mailer.default_url_options = { :host => 'localhost', port: 3000 }
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = { :address => 'localhost', :port => 1025 }
|
||||
|
||||
config.action_mailer.delivery_method = :letter_opener
|
||||
config.action_mailer.perform_deliveries = true
|
||||
|
||||
# Don't care if the mailer can't send.
|
||||
config.action_mailer.raise_delivery_errors = false
|
||||
|
||||
Reference in New Issue
Block a user