mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-20 04:58:52 +00:00
Documentation - updated email setup (#10695)
* Updated email setup documentation to include sendmail option * Update docs/content/doc/usage/email-setup.en-us.md full path to sendmail Co-Authored-By: mrsdizzie <[email protected]> * Update docs/content/doc/usage/email-setup.en-us.md docker image does not have sendmail Co-Authored-By: Antoine GIRARD <[email protected]> * Update docs/content/doc/usage/email-setup.en-us.md Co-Authored-By: Antoine GIRARD <[email protected]> * Update docs/content/doc/usage/email-setup.en-us.md Co-Authored-By: James Lakin <[email protected]> * Update docs/content/doc/usage/email-setup.en-us.md Co-Authored-By: James Lakin <[email protected]> Co-authored-by: 8ctopus <[email protected]> Co-authored-by: mrsdizzie <[email protected]> Co-authored-by: zeripath <[email protected]> Co-authored-by: Antoine GIRARD <[email protected]> Co-authored-by: James Lakin <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
mrsdizzie
Antoine GIRARD
James Lakin
8ctopus
zeripath
parent
b6a7d9f63f
commit
211f335e62
@@ -15,13 +15,27 @@ menu:
|
|||||||
|
|
||||||
# Email setup
|
# Email setup
|
||||||
|
|
||||||
- To use Gitea's built-in Email support, update the `app.ini` config file [mailer] section:
|
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
|
```ini
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
HOST = mail.mydomain.com:587
|
|
||||||
FROM = [email protected]
|
FROM = [email protected]
|
||||||
|
MAILER_TYPE = sendmail
|
||||||
|
SENDMAIL_PATH = /usr/sbin/sendmail
|
||||||
|
```
|
||||||
|
|
||||||
|
## SMTP version
|
||||||
|
```ini
|
||||||
|
[mailer]
|
||||||
|
ENABLED = true
|
||||||
|
FROM = [email protected]
|
||||||
|
MAILER_TYPE = smtp
|
||||||
|
HOST = mail.mydomain.com:587
|
||||||
|
IS_TLS_ENABLED = true
|
||||||
USER = [email protected]
|
USER = [email protected]
|
||||||
PASSWD = `password`
|
PASSWD = `password`
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user