From fd8beed04d1ea0591a4eb57df14b2d8851f1aa4f Mon Sep 17 00:00:00 2001 From: dangjinghao Date: Sat, 15 Nov 2025 03:43:02 +0000 Subject: [PATCH] Fix formatting for Mailer.FROM address example in configuration cheat sheet (#296) This example is incorrect. wrong: wrong-1.png wrong-2.png wrong-3.png correct: correct-1.png correct-2.png Reviewed-on: https://gitea.com/gitea/docs/pulls/296 Reviewed-by: Lunny Xiao Co-authored-by: dangjinghao Co-committed-by: dangjinghao --- docs/administration/config-cheat-sheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/administration/config-cheat-sheet.md b/docs/administration/config-cheat-sheet.md index fdf6432a..c97f8cb8 100644 --- a/docs/administration/config-cheat-sheet.md +++ b/docs/administration/config-cheat-sheet.md @@ -819,7 +819,7 @@ and - Please note: authentication is only supported when the SMTP server communication is encrypted with TLS (this can be via `STARTTLS`) or SMTP host is localhost. See [Email Setup](email-setup.md) for more information. - `ENABLE_HELO`: **true**: Enable HELO operation. - `HELO_HOSTNAME`: **(retrieved from system)**: HELO hostname. -- `FROM`: **_empty_**: Mail from address, RFC 5322. This can be just an email address, or the "Name" `\` format. +- `FROM`: **_empty_**: Mail from address, RFC 5322. This can be just an email address, or the `"Name" ` format. - `ENVELOPE_FROM`: **_empty_**: Address set as the From address on the SMTP mail envelope. Set to `<>` to send an empty address. - `FROM_DISPLAY_NAME_FORMAT`: **`{{ .DisplayName }}`**: If gitea sends mails on behave of users, it will just use the name also displayed in the WebUI. If you want e.g. `Mister X (by CodeIt) `, set it to `{{ .DisplayName }} (by {{ .AppName }})`. Available Variables: `.DisplayName`, `.AppName` and `.Domain`. - `SUBJECT_PREFIX`: **_empty_**: Prefix to be placed before e-mail subject lines.