mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-20 04:58:52 +00:00
Reformat docs (#13897)
Co-authored-by: 6543 <[email protected]> Co-authored-by: Lauris BH <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
6543
Lauris BH
parent
3bfa053c3e
commit
9ccfa03d94
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user