mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 04:27:53 +00:00
Add letter opener to view emails locally
This commit is contained in:
@@ -27,8 +27,9 @@ Rails.application.configure do
|
|||||||
end
|
end
|
||||||
|
|
||||||
config.action_mailer.default_url_options = { :host => 'localhost', port: 3000 }
|
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.
|
# Don't care if the mailer can't send.
|
||||||
config.action_mailer.raise_delivery_errors = false
|
config.action_mailer.raise_delivery_errors = false
|
||||||
|
|||||||
Reference in New Issue
Block a user