Skip to content

Commit 856030c

Browse files
zeripathlafriks
andauthored
Add docs for gmail (#10995)
Fix #10971 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lauris BH <[email protected]>
1 parent ad31d6b commit 856030c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/content/doc/usage/email-setup.en-us.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,19 @@ PASSWD = `password`
4545
- To send a test email to validate the settings, go to Gitea > Site Administration > Configuration > SMTP Mailer Configuration.
4646

4747
For the full list of options check the [Config Cheat Sheet]({{< relref "doc/advanced/config-cheat-sheet.en-us.md" >}})
48+
49+
### Gmail
50+
51+
The following configuration should work with GMail's SMTP server:
52+
53+
```ini
54+
[mailer]
55+
ENABLED = true
56+
HOST = smtp.gmail.com:465
57+
58+
59+
PASSWD = ***
60+
MAILER_TYPE = smtp
61+
IS_TLS_ENABLED = true
62+
HELO_HOSTNAME = example.com
63+
```

0 commit comments

Comments
 (0)