1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-03 01:45:47 +00:00

Update Gmail example (#26302)

The `IS_TLS_ENABLED` option in the `mailer` section is deprecated. This
is specified by setting `PROTOCOL=smtps`
This commit is contained in:
Bård Aase 2023-08-03 11:20:40 +01:00 committed by GitHub
parent 539015403f
commit 8ba54a2e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,8 +79,7 @@ SMTP_PORT = 465
FROM = example.user@gmail.com
USER = example.user
PASSWD = `***`
PROTOCOL = smtp
IS_TLS_ENABLED = true
PROTOCOL = smtps
```
Note that you'll need to create and use an [App password](https://support.google.com/accounts/answer/185833?hl=en) by enabling 2FA on your Google