Change mailer example to use Mua

This commit is contained in:
Ekaterina Vaartis 2025-08-01 23:31:54 +03:00
commit 09eb7dbf8e
2 changed files with 4 additions and 5 deletions

View file

@ -0,0 +1 @@
Change SMTP example to use the Mua adapter that works with OTP>25

View file

@ -733,13 +733,11 @@ An example for SMTP adapter:
```elixir ```elixir
config :pleroma, Pleroma.Emails.Mailer, config :pleroma, Pleroma.Emails.Mailer,
enabled: true, enabled: true,
adapter: Swoosh.Adapters.SMTP, adapter: Swoosh.Adapters.Mua,
relay: "smtp.gmail.com", relay: "smtp.gmail.com",
username: "YOUR_USERNAME@gmail.com", auth: [username: "YOUR_USERNAME@gmail.com", password: "YOUR_SMTP_PASSWORD"],
password: "YOUR_SMTP_PASSWORD",
port: 465, port: 465,
ssl: true, protocol: :ssl
auth: :always
``` ```
An example for Mua adapter: An example for Mua adapter: