Use better default for SMTP mailer
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
990a442c87
commit
c1a59f5536
|
@ -110,8 +110,12 @@ config :mobilizon, Mobilizon.Web.Email.Mailer,
|
||||||
relay: "localhost",
|
relay: "localhost",
|
||||||
# usually 25, 465 or 587
|
# usually 25, 465 or 587
|
||||||
port: 25,
|
port: 25,
|
||||||
username: nil,
|
username: "",
|
||||||
password: nil,
|
password: "",
|
||||||
|
# can be `:always` or `:never`
|
||||||
|
auth: :if_available,
|
||||||
|
# can be `true`
|
||||||
|
ssl: false,
|
||||||
# can be `:always` or `:never`
|
# can be `:always` or `:never`
|
||||||
tls: :if_available,
|
tls: :if_available,
|
||||||
allowed_tls_versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"],
|
allowed_tls_versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"],
|
||||||
|
|
Loading…
Reference in a new issue