aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/usage/email-setup.en-us.md
diff options
context:
space:
mode:
authorPatrick Schratz <patrick.schratz@gmail.com>2020-12-09 07:47:06 +0100
committerGitHub <noreply@github.com>2020-12-09 07:47:06 +0100
commitaf79677a44aec3924823d90f42e5cc2e6e1b2961 (patch)
treeed84af9ce17ff0f1337984b99f60d20541adf3da /docs/content/doc/usage/email-setup.en-us.md
parent97ab820accba40de66d7df7cdc5e396277483710 (diff)
downloadgitea-af79677a44aec3924823d90f42e5cc2e6e1b2961.tar.gz
gitea-af79677a44aec3924823d90f42e5cc2e6e1b2961.zip
Reformat docs (#13897)
Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'docs/content/doc/usage/email-setup.en-us.md')
-rw-r--r--docs/content/doc/usage/email-setup.en-us.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/content/doc/usage/email-setup.en-us.md b/docs/content/doc/usage/email-setup.en-us.md
index 9cb3a9e78c..54ccfbf82a 100644
--- a/docs/content/doc/usage/email-setup.en-us.md
+++ b/docs/content/doc/usage/email-setup.en-us.md
@@ -3,7 +3,7 @@ date: "2019-10-15T10:10:00+05:00"
title: "Usage: Email setup"
slug: "email-setup"
weight: 12
-toc: true
+toc: false
draft: false
menu:
sidebar:
@@ -15,11 +15,17 @@ menu:
# Email setup
+**Table of Contents**
+
+{{< toc >}}
+
To use Gitea's built-in Email support, update the `app.ini` config file [mailer] section:
## Sendmail version
+
Use the operating system’s sendmail command instead of SMTP. This is common on Linux servers.
Note: For use in the official Gitea Docker image, please configure with the SMTP version.
+
```ini
[mailer]
ENABLED = true
@@ -29,6 +35,7 @@ SENDMAIL_PATH = /usr/sbin/sendmail
```
## SMTP version
+
```ini
[mailer]
ENABLED = true