diff --git a/config/environments/production.rb b/config/environments/production.rb index ec74b5c5..5ed96e05 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -76,7 +76,7 @@ Rails.application.configure do user_name: ENV["SMTP_USERNAME"], password: ENV["SMTP_PASSWORD"], authentication: ENV["SMTP_AUTHENTICATION"], - enable_starttls_auto: ENV["SMTP_ENABLE_STARTTLS_AUTO"] + enable_starttls_auto: ENV["SMTP_ENABLE_STARTTLS_AUTO"] == "true" } # Ignore bad email addresses and do not raise email delivery errors.