broken SMTP authenticated mailing transport, and SendInBlue Adapter request
Environment
- Installation type (OTP or From Source): SOURCE
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): Soapbox FE 2.0.0 Pleroma 2.4.51-1245-g5ae5072c.develop+soapbox
- Elixir version (
elixir -v
for from source installations, N/A for OTP): Elixir 1.13.4 (compiled with Erlang/OTP 22) - Operating system: UBUNTU
- PostgreSQL version (
psql -V
): psql (PostgreSQL) 12.10 (Ubuntu 12.10-0ubuntu0.20.04.1)
Bug description
Hello there, I can't send mails by SMTP SendInBlue configuration but I've just discovered Swoosh 1.6.6 has SendInBlue Adapter, ready. How Do I can add it to my mix compiled by sources?
This is the SMTP error:
pleroma@hostname:/opt/pleroma$ MIX_ENV=prod mix pleroma.email test
** (UndefinedFunctionError) function :crypto.hmac/3 is undefined or private, use crypto:mac/4 instead
(crypto 5.0.4) :crypto.hmac(:md5, "PASSWORD", "<NUMERIC-ID@smtp-relay.sendinblue.com>")
(gen_smtp 0.15.0) /opt/pleroma/deps/gen_smtp/src/smtp_util.erl:73: :smtp_util.compute_cram_digest/2
(gen_smtp 0.15.0) /opt/pleroma/deps/gen_smtp/src/gen_smtp_client.erl:489: :gen_smtp_client.do_AUTH_each/5
(gen_smtp 0.15.0) /opt/pleroma/deps/gen_smtp/src/gen_smtp_client.erl:452: :gen_smtp_client.try_AUTH/3
(gen_smtp 0.15.0) /opt/pleroma/deps/gen_smtp/src/gen_smtp_client.erl:335: :gen_smtp_client.open_smtp_session/2
(gen_smtp 0.15.0) /opt/pleroma/deps/gen_smtp/src/gen_smtp_client.erl:271: :gen_smtp_client.try_smtp_sessions/3
(gen_smtp 0.15.0) /opt/pleroma/deps/gen_smtp/src/gen_smtp_client.erl:258: :gen_smtp_client.send_it/2
(swoosh 1.3.11) lib/swoosh/adapters/smtp.ex:48: Swoosh.Adapters.SMTP.deliver/2
My Pleroma installation is made by sources. Inside deps.exs
I have this: {:swoosh, "~> 1.0"},