Skip to content

Commit

Permalink
fix: fix starttls-option-key not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangwenbing.zwb authored and textworld committed Nov 13, 2023
1 parent b5e1101 commit f9df82a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions model/property/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ var AllProperty = []Property{
EmailPassword,
EmailFromName,
EmailIsEnabled,
EmailStarttls,
CustomHead,
CustomContentHead,
StatisticsCode,
Expand Down
5 changes: 5 additions & 0 deletions model/property/email.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@ var (
DefaultValue: false,
Kind: reflect.Bool,
}
EmailStarttls = Property{
KeyValue: "email_starttls",
DefaultValue: false,
Kind: reflect.Bool,
}
)

0 comments on commit f9df82a

Please sign in to comment.