No notification sending
We area dealing with a huge problem with email for send notifications as the event will take place one month from now.
Elixir was installed locally with the library Swoosh and mail was sent correctly with this config.
12345678910111213141516 adapter: Swoosh.Adapters.SMTP,
relay: "mail.jpberlin.de",
hostname: "mail.jpberlin.de",
port: 587,
username: "MY_EMAIL",
password: "LETMEIN",
ssl: false,
tls: :always,
allowed_tls_versions: [:"tlsv1.2"],
tls_options: [
versions: [:"tlsv1.2"],
verify: :verify_none
],
retries: 3,
no_mx_lookups: true,
auth: :always
1{:ok, "2.0.0 Ok: queued as A8F4AAB1CC\r\n"}
But in the server, using Docker with the same config, always get this error:
1Failed sending email to elmau@cuates.net. {:retries_exceeded, {:temporary_failure, ~c"mail.jpberlin.de", :tls_failed}}
Also tried with port 465, but it's worse because it doesn't work locally. As they reported on this ticket: https://github.com/swoosh/swoosh/issues/811
Any idea for debug this problem?
Edited by Daniel Rodriguez