Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P pleroma-support
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleroma-support
  • Issues
  • #73
Closed
Open
Issue created May 06, 2022 by Tassoman Pigi@tassoman

broken SMTP transport with authentication, and SendInBlue Swoosh Adapter is missing

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"},

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking