commit: 88d0a36d0172fa3ff327f229698bcd5356d302cb
parent 5f93e85e0b412a117303481273644e05e6048d1d
Author: feld <feld@feld.me>
Date: Fri, 1 Aug 2025 21:18:15 +0000
Merge branch 'mailer-mua' into 'develop'
Change mailer example to use Mua
See merge request pleroma/pleroma!4392
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/changelog.d/smtp-docs.change b/changelog.d/smtp-docs.change
@@ -0,0 +1 @@
+Change SMTP example to use the Mua adapter that works with OTP>25
+\ No newline at end of file
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
@@ -733,13 +733,11 @@ An example for SMTP adapter:
```elixir
config :pleroma, Pleroma.Emails.Mailer,
enabled: true,
- adapter: Swoosh.Adapters.SMTP,
+ adapter: Swoosh.Adapters.Mua,
relay: "smtp.gmail.com",
- username: "YOUR_USERNAME@gmail.com",
- password: "YOUR_SMTP_PASSWORD",
+ auth: [username: "YOUR_USERNAME@gmail.com", password: "YOUR_SMTP_PASSWORD"],
port: 465,
- ssl: true,
- auth: :always
+ protocol: :ssl
```
An example for Mua adapter: