Change mailer example to use Mua
This commit is contained in:
parent
7042495d7c
commit
09eb7dbf8e
2 changed files with 4 additions and 5 deletions
1
changelog.d/smtp-docs.change
Normal file
1
changelog.d/smtp-docs.change
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Change SMTP example to use the Mua adapter that works with OTP>25
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue