[docs] Fix Gmail configuration (#26356)

(cherry picked from commit b94370504f)
This commit is contained in:
Brian Lachniet 2023-08-06 12:02:43 -04:00 committed by Earl Warren
parent f597c789e1
commit 9db27d2602
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -79,8 +79,9 @@ SMTP_PORT = 465
FROM = example.user@gmail.com
USER = example.user
PASSWD = `***`
PROTOCOL = smtp
IS_TLS_ENABLED = true
PROTOCOL = smtps ; Gitea >= 1.19.0
; PROTOCOL = smtp ; Gitea < 1.19.0
; IS_TLS_ENABLED = true ; Gitea < 1.19.0
```
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