From c1a59f55360ff17ba7a72cd4f625e9283cd41690 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 5 Apr 2022 15:57:30 +0200 Subject: [PATCH] Use better default for SMTP mailer Signed-off-by: Thomas Citharel --- config/config.exs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/config.exs b/config/config.exs index d2ad145bf..c7f78891e 100644 --- a/config/config.exs +++ b/config/config.exs @@ -110,8 +110,12 @@ config :mobilizon, Mobilizon.Web.Email.Mailer, relay: "localhost", # usually 25, 465 or 587 port: 25, - username: nil, - password: nil, + username: "", + password: "", + # can be `:always` or `:never` + auth: :if_available, + # can be `true` + ssl: false, # can be `:always` or `:never` tls: :if_available, allowed_tls_versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"],