[bug] Email doesn't work with Erlang OTP 26 #660

Closed
opened 2023-11-07 23:43:34 +00:00 by norm · 2 comments
Contributor

Your setup

From source

Extra details

Fedora 39

Version

6cc523bd23

PostgreSQL version

15

What were you trying to do?

Trying to send a test email using the command mix pleroma.email test --to $email.

What did you expect to happen?

Email gets sent to the specified email address. This was the case with Fedora 38 and OTP 25.

What actually happened?

Email is not sent.

Logs

23:38:07.376 [debug] Headers: [
  {"Content-Type", "text/html; charset=\"utf-8\""},
  {"From", "\"Luna Nova\" <INSTANCE_EMAIL>"},
  {"To", "TEST_EMAIL_ADDRESS"},
  {"Subject", "Instance Test Email"},
  {"MIME-Version", "1.0"},
  {"Content-Transfer-Encoding", "quoted-printable"},
  {"Date", "Tue, 7 Nov 2023 23:38:07 +0000"},
  {"Message-ID", "<4c2fb8e49554253812d778b21b8ad8f2@lunanova>"}
]

... repeated several times

** (MatchError) no match of right hand side value: {:error, {:retries_exceeded, {:network_failure, ~c"MAIL_SERVER_IP_ADDRESS", {:error, {:options, :incompatible, [verify: :verify_peer, cacerts: :undefined]}}}}}
    (pleroma 3.10.3-212-g6cc523bd-develop) lib/mix/tasks/pleroma/email.ex:24: Mix.Tasks.Pleroma.Email.run/1
    (mix 1.15.7) lib/mix/task.ex:455: anonymous fn/3 in Mix.Task.run_task/5
    (mix 1.15.7) lib/mix/cli.ex:92: Mix.CLI.run_task/2
    /usr/bin/mix:2: (file)

Severity

I cannot use it as easily as I'd like

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup From source ### Extra details Fedora 39 ### Version 6cc523bd23528b6097d426f560a77b0316c3ac2a ### PostgreSQL version 15 ### What were you trying to do? Trying to send a test email using the command `mix pleroma.email test --to $email`. ### What did you expect to happen? Email gets sent to the specified email address. This was the case with Fedora 38 and OTP 25. ### What actually happened? Email is not sent. ### Logs ```shell 23:38:07.376 [debug] Headers: [ {"Content-Type", "text/html; charset=\"utf-8\""}, {"From", "\"Luna Nova\" <INSTANCE_EMAIL>"}, {"To", "TEST_EMAIL_ADDRESS"}, {"Subject", "Instance Test Email"}, {"MIME-Version", "1.0"}, {"Content-Transfer-Encoding", "quoted-printable"}, {"Date", "Tue, 7 Nov 2023 23:38:07 +0000"}, {"Message-ID", "<4c2fb8e49554253812d778b21b8ad8f2@lunanova>"} ] ... repeated several times ** (MatchError) no match of right hand side value: {:error, {:retries_exceeded, {:network_failure, ~c"MAIL_SERVER_IP_ADDRESS", {:error, {:options, :incompatible, [verify: :verify_peer, cacerts: :undefined]}}}}} (pleroma 3.10.3-212-g6cc523bd-develop) lib/mix/tasks/pleroma/email.ex:24: Mix.Tasks.Pleroma.Email.run/1 (mix 1.15.7) lib/mix/task.ex:455: anonymous fn/3 in Mix.Task.run_task/5 (mix 1.15.7) lib/mix/cli.ex:92: Mix.CLI.run_task/2 /usr/bin/mix:2: (file) ``` ### Severity I cannot use it as easily as I'd like ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
norm added the
bug
label 2023-11-07 23:43:34 +00:00
Author
Contributor
Related: https://github.com/swoosh/swoosh/issues/785
norm closed this issue 2024-02-17 02:30:39 +00:00
norm reopened this issue 2024-02-17 02:32:04 +00:00
Author
Contributor

guess the issue got auto-closed since I merged that PR into my own branch

guess the issue got auto-closed since I merged that PR into my own branch
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#660
No description provided.