small pixel drawing of a pufferfish clist

Make Message-ID RFC compliant
j3s j3s@cyberia.club
Fri, 06 Dec 2019 19:27:22 -0600
commit

203aff3c508cb3f5b58a8e5aad3420296c998e8d

parent

f4b39221d293d857f6eb08727a2dd1a37c368c5b

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M mail/main.gomail/main.go

@@ -450,7 +450,7 @@ if !e.Date.IsZero() {

fmt.Fprintf(&buf, "Date: %s\r\n", e.Date) } 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, "> <"))