Merge branch 'bugfix/smtp-config-examples' into 'develop'

Fix SMTP mailer example

See merge request pleroma/pleroma!2091
This commit is contained in:
rinpatch 2020-01-07 11:43:22 +00:00
commit fcd5dd259a

View file

@ -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
```