From 9db27d26021246ffabfc1511d7dc7c1e69fa18e7 Mon Sep 17 00:00:00 2001 From: Brian Lachniet Date: Sun, 6 Aug 2023 12:02:43 -0400 Subject: [PATCH] [docs] Fix Gmail configuration (#26356) (cherry picked from commit b94370504ff2c904707f25774da1d168ee4f37fd) --- docs/content/administration/email-setup.en-us.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/content/administration/email-setup.en-us.md b/docs/content/administration/email-setup.en-us.md index 10058d8284..5bb417fefe 100644 --- a/docs/content/administration/email-setup.en-us.md +++ b/docs/content/administration/email-setup.en-us.md @@ -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