diff --git a/config/runtime.exs b/config/runtime.exs index da73e0ff2..b69d5434a 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -232,8 +232,8 @@ case mailer_adapter do password: get_var_from_path_or_env(config_dir, "SMTP_USER_PWD"), tls: :if_available, allowed_tls_versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"], - ssl: get_var_from_path_or_env(config_dir, "SMTP_HOST_SSL_ENABLED", false), - retries: get_var_from_path_or_env(config_dir, "SMTP_RETRIES", 2), + ssl: get_var_from_path_or_env(config_dir, "SMTP_HOST_SSL_ENABLED") || false, + retries: get_var_from_path_or_env(config_dir, "SMTP_RETRIES") || 2, no_mx_lookups: get_var_from_path_or_env(config_dir, "SMTP_MX_LOOKUPS_ENABLED") || true "Bamboo.LocalAdapter" ->