set Content-Transfer-Encoding header, fixes #32
This commit is contained in:
parent
267f5cb949
commit
4c6b7c2c1a
1 changed files with 3 additions and 0 deletions
|
|
@ -129,6 +129,9 @@ func (e *Email) Compose(privkey string) string {
|
||||||
data.WriteString("Content-Type: text/plain; charset=\"UTF-8\"")
|
data.WriteString("Content-Type: text/plain; charset=\"UTF-8\"")
|
||||||
data.WriteString("\r\n")
|
data.WriteString("\r\n")
|
||||||
|
|
||||||
|
data.WriteString("Content-Transfer-Encoding: 8BIT")
|
||||||
|
data.WriteString("\r\n")
|
||||||
|
|
||||||
data.WriteString("From: ")
|
data.WriteString("From: ")
|
||||||
data.WriteString(e.From)
|
data.WriteString(e.From)
|
||||||
data.WriteString("\r\n")
|
data.WriteString("\r\n")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue