commit: 09eb7dbf8eb876b9847d7323fd2b93ee04c5be2a
parent 7042495d7c683026dfb4711a54db92ed869b24ad
Author: Ekaterina Vaartis <vaartis@kotobank.ch>
Date: Fri, 1 Aug 2025 23:31:54 +0300
Change mailer example to use Mua
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: