summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRX14 <steph@rx14.co.uk>2020-01-05 19:00:48 +0000
committerRX14 <steph@rx14.co.uk>2020-01-05 19:00:48 +0000
commitb55f2563d05f2d0ca5e1293391c67d73d60d501d (patch)
tree8ecc2c21d8da0f89e5b3d2b12c3d9fea62958fd9
parentee0c40831efde5054f587ae0e371fffcad1396b7 (diff)
Fix SMTP mailer example
`ssl: true` and `tls: :always` tries to use both TLS and STARTTLS on the same SMTP connection, causing it to fail.
-rw-r--r--docs/configuration/cheatsheet.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
index a214b6e2f..cad3af68d 100644
--- a/docs/configuration/cheatsheet.md
+++ b/docs/configuration/cheatsheet.md
@@ -453,6 +453,7 @@ An example for Sendgrid adapter:
```elixir
config :pleroma, Pleroma.Emails.Mailer,
+ enabled: true,
adapter: Swoosh.Adapters.Sendgrid,
api_key: "YOUR_API_KEY"
```
@@ -461,13 +462,13 @@ An example for SMTP adapter:
```elixir
config :pleroma, Pleroma.Emails.Mailer,
+ enabled: true,
adapter: Swoosh.Adapters.SMTP,
relay: "smtp.gmail.com",
username: "YOUR_USERNAME@gmail.com",
password: "YOUR_SMTP_PASSWORD",
port: 465,
ssl: true,
- tls: :always,
auth: :always
```