aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/mailer.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/mailer.go')
-rw-r--r--modules/setting/mailer.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/setting/mailer.go b/modules/setting/mailer.go
index 4c3dff6850..e79ff30447 100644
--- a/modules/setting/mailer.go
+++ b/modules/setting/mailer.go
@@ -13,7 +13,7 @@ import (
"code.gitea.io/gitea/modules/log"
- shellquote "github.com/kballard/go-shellquote"
+ "github.com/kballard/go-shellquote"
)
// Mailer represents mail service.
@@ -29,6 +29,9 @@ type Mailer struct {
SubjectPrefix string `ini:"SUBJECT_PREFIX"`
OverrideHeader map[string][]string `ini:"-"`
+ // Embed attachment images as inline base64 img src attribute
+ EmbedAttachmentImages bool
+
// SMTP sender
Protocol string `ini:"PROTOCOL"`
SMTPAddr string `ini:"SMTP_ADDR"`