add MIME-Version to mime header
1 files changed, 1 insertions(+), 1 deletions(-) M edit.go
M edit.go +1 -1
@@ 307,7 307,7 @@ func readIntoMimeMessage(src io.Reader) io.WriteString(h, strconv.Itoa(time.Now().Nanosecond())) b = fmt.Sprintf("%x", h.Sum(nil)) var mhdr bytes.Buffer - fmt.Fprintf(&mhdr, "\r\n--%s\r\n"+ + fmt.Fprintf(&mhdr, "\r\n--%s\r\nMIME-Version: 1.0\r\n"+ "Content-Type: %s\r\n"+ "Content-Transfer-Encoding: %s\r\n"+ "Content-Disposition: inline\r\n\r\n",