add missing MIME-Version header
This commit is contained in:
parent
f835a7560d
commit
0c01987c93
1 changed files with 3 additions and 0 deletions
|
|
@ -136,6 +136,9 @@ func (e *Email) Compose(privkey string) string {
|
|||
|
||||
domain := strings.SplitN(e.From, "@", 2)[1]
|
||||
|
||||
data.WriteString("MIME-Version: 1.0")
|
||||
data.WriteString("\r\n")
|
||||
|
||||
data.WriteString("Content-Type: text/plain; charset=\"UTF-8\"")
|
||||
data.WriteString("\r\n")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue