# HG changeset patch # User telesto # Date 1462530060 -7200 # Fri May 06 12:21:00 2016 +0200 # Node ID ee3884916764a8a4bf268b93a1886869b7c71b3d # Parent a2e7df8f6f18ec17b4071a4830c81daa0b9a83cc add MIME-Version to mime header diff --git a/edit.go b/edit.go --- a/edit.go +++ b/edit.go @@ -307,7 +307,7 @@ 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",