diff options
author | zeripath <art27@cantab.net> | 2020-04-06 21:18:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 16:18:42 -0400 |
commit | 856030c530363232050286dd49f8320c535e6ff9 (patch) | |
tree | 1fb3e4b18597d3ded402061b16898a9358e0134c /docs | |
parent | ad31d6b5e8856b22ddad45477be9d078a869a953 (diff) | |
download | gitea-856030c530363232050286dd49f8320c535e6ff9.tar.gz gitea-856030c530363232050286dd49f8320c535e6ff9.zip |
Add docs for gmail (#10995)
Fix #10971
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/usage/email-setup.en-us.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/content/doc/usage/email-setup.en-us.md b/docs/content/doc/usage/email-setup.en-us.md index bf5ac4601f..68351d096d 100644 --- a/docs/content/doc/usage/email-setup.en-us.md +++ b/docs/content/doc/usage/email-setup.en-us.md @@ -45,3 +45,19 @@ PASSWD = `password` - To send a test email to validate the settings, go to Gitea > Site Administration > Configuration > SMTP Mailer Configuration. For the full list of options check the [Config Cheat Sheet]({{< relref "doc/advanced/config-cheat-sheet.en-us.md" >}}) + +### Gmail + +The following configuration should work with GMail's SMTP server: + +```ini +[mailer] +ENABLED = true +HOST = smtp.gmail.com:465 +FROM = example@gmail.com +USER = example@gmail.com +PASSWD = *** +MAILER_TYPE = smtp +IS_TLS_ENABLED = true +HELO_HOSTNAME = example.com +``` |