]> source.dussan.org Git - gitea.git/commitdiff
[docs] Fix Gmail configuration (#26356)
authorBrian Lachniet <blachniet@gmail.com>
Sun, 6 Aug 2023 16:02:43 +0000 (12:02 -0400)
committerGitHub <noreply@github.com>
Sun, 6 Aug 2023 16:02:43 +0000 (12:02 -0400)
docs/content/administration/email-setup.en-us.md

index 10058d82849baed719e0f4f8eba11a2e72bf278f..5bb417fefed6db909251711d99c1db1867a6c5a3 100644 (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