Essai de configuration smtp, pour gérer soucis de certificat

This commit is contained in:
echarp 2014-06-26 21:39:36 +02:00
parent 74b76a70a3
commit 1a2945fc47

View File

@ -64,7 +64,7 @@ Rails.application.configure do
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false
config.action_mailer.smtp_settings.openssl_verify_mode = 'none'
config.action_mailer.smtp_settings = { openssl_verify_mode: 'none' }
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation cannot be found).