small pixel drawing of a pufferfish clist

Add all additional headers
j3s j3s@cyberia.club
Sun, 24 Nov 2019 14:21:14 -0600
commit

c3f84bb7c570344e9d7495aa67ea397e30f8cf24

parent

c90c1f966be24184075e8d1bbaec4845ab13cbbf

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

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

@@ -451,7 +451,10 @@ }

if len(e.InReplyTo) > 0 { fmt.Fprintf(&buf, "In-Reply-To: %s\r\n", strings.Join(e.InReplyTo, ",")) } - // go over remainer of headers + // go over remainder of headers + for k, v := range e.Header { + fmt.Fprintf(&buf, "%s: %s\r\n", k, strings.Join(v, ",")) + } fmt.Fprintf(&buf, "Subject: %s\r\n", e.Subject) fmt.Fprintf(&buf, "\r\n%s", e.TextBody)