diff --git a/config/environments/production.rb b/config/environments/production.rb index d4f16683..d2b43a46 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -76,7 +76,7 @@ Osem::Application.configure do port: ENV['OSEM_SMTP_PORT'], user_name: ENV['OSEM_SMTP_USERNAME'], password: ENV['OSEM_SMTP_PASSWORD'], - authentication: ENV['OSEM_SMTP_AUTHENTICATION'].to_sym, + authentication: ENV['OSEM_SMTP_AUTHENTICATION'].try(:to_sym), domain: ENV['OSEM_SMTP_DOMAIN'], enable_starttls_auto: true }