a good email setup

f396e41 · gmorell · 2026-04-30 01:44

2 files +6 -0

Files changed

modified config/runtime.exs
+6 −0
@@ -130,6 +130,12 @@ if config_env() == :prod do
130 130 tls: smtp_tri.("SMTP_TLS", "if_available"),
131 131 ssl: System.get_env("SMTP_SSL", "false") == "true",
132 132 auth: smtp_tri.("SMTP_AUTH", "if_available"),
133 + tls_options: [
134 + verify: :verify_peer,
135 + cacerts: :public_key.cacerts_get(),
136 + server_name_indication: String.to_charlist(relay),
137 + depth: 99
138 + ],
133 139 retries: 1,
134 140 no_mx_lookups: false
135 141 ]

Parents: eb57556