Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Commit f9665c3

Browse files
coulinglunny
authored andcommitted
Added documentation for sendmail #355 (#56)
1 parent 2f16b65 commit f9665c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/doc/advanced/config-cheat-sheet.en-us.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ Any configuration option that is marked by :exclamation: means that you should k
123123
- `FROM`: Mail from address, RFC 5322. This can be just an email address, or the "Name" \<[email protected]\> format.
124124
- `USER`: Username of mailer (usually just your e-mail address).
125125
- `PASSWD`: Password of mailer.
126-
- `SKIP_VERIFY`: Do not verify the self-signed certificates.
126+
- `SKIP_VERIFY`: Do not verify the self-signed certificates.
127+
- `USE_SENDMAIL`: Use the operating system's `sendmail` command instead of SMTP. This is common on linux systems. Valid values are `true` to use sendmail and `false` to use SMTP (default). Note that enabling sendmail will ignore all other `mailer` settings except `ENABLED`, `FROM` and `SENDMAIL_PATH`.
128+
- `SENDMAIL_PATH`: The location of sendmail on the operating system. This can be an absolute path (eg: `/usr/sbin/sendmail`) or just the name of the command (eg: `sendmail` - default) if it can be found in the `PATH` environment variable.
127129

128130
Note: Actually, Gitea supports only SMTP with STARTTLS.
129131

0 commit comments

Comments
 (0)