diff options
author | sommerf-lf <159693954+sommerf-lf@users.noreply.github.com> | 2025-03-05 17:29:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-05 16:29:29 +0000 |
commit | 7cdde20c737c70e9b11f1ded71ad4b985f4167fd (patch) | |
tree | 297e2df1b65887eb8bc5222f0d13d288ce83ecd8 /custom | |
parent | f0f10413aeaa6970c07cc481ebd22ea2eb626a4c (diff) | |
download | gitea-7cdde20c737c70e9b11f1ded71ad4b985f4167fd.tar.gz gitea-7cdde20c737c70e9b11f1ded71ad4b985f4167fd.zip |
Email option to embed images as base64 instead of link (#32061)
ref: #15081
ref: #14037
Documentation: https://gitea.com/gitea/docs/pulls/69
# Example
Content:

Result in Email:

Result with source code:
(first image is external image, 2nd is now embedded)

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 899209874f..178d7a1363 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1767,6 +1767,9 @@ LEVEL = Info ;; ;; convert \r\n to \n for Sendmail ;SENDMAIL_CONVERT_CRLF = true +;; +;; convert links of attached images to inline images. Only for images hosted in this gitea instance. +;EMBED_ATTACHMENT_IMAGES = false ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |