Downcase Message-Id since RFC 5322 is case insensitive
j3s j3s@cyberia.club
Mon, 09 Dec 2019 14:41:51 -0600
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
mail/main.go
→
mail/main.go
@@ -450,7 +450,7 @@ if !e.Date.IsZero() {
fmt.Fprintf(&buf, "Date: %s\r\n", e.Date.Format(time.RFC1123Z)) } if len(e.MessageID) > 0 { - fmt.Fprintf(&buf, "Message-ID: <%s>\r\n", e.MessageID) + fmt.Fprintf(&buf, "Message-Id: <%s>\r\n", e.MessageID) } if len(e.InReplyTo) > 0 { fmt.Fprintf(&buf, "In-Reply-To: <%s>\r\n", strings.Join(e.InReplyTo, "> <"))