5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:31:42 +00:00

enviar correo a traves del contenedor...

This commit is contained in:
f 2019-09-07 15:44:19 -03:00
parent 25d5bb24b6
commit e2767b2e11
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -120,10 +120,16 @@ Rails.application.configure do
# ActiveRecord::Middleware::DatabaseSelector::Resolver::Session
# Recibir por mail notificaciones de excepciones
config.action_mailer.default_url_options = { host: ENV['SUTTY'] }
config.action_mailer.default_url_options = {
host: ENV.fetch('SUTTY', 'sutty.nl')
}
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :sendmail
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: 'postfix',
domain: ENV.fetch('SUTTY', 'sutty.nl')
}
config.action_mailer.default_options = { from: ENV['DEFAULT_FROM'] }
config.middleware.use ExceptionNotification::Rack,