Add angled brackets around Message-Id value

This commit is contained in:
Mike Skec 2021-01-01 10:40:19 +11:00 committed by Simon Ser
parent d16ec98f49
commit f06444c165
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ func messageHeader(msg *protonmail.Message) message.Header {
h.SetAddressList("Bcc", mailAddressList(msg.BCCList)) h.SetAddressList("Bcc", mailAddressList(msg.BCCList))
} }
// TODO: In-Reply-To // TODO: In-Reply-To
h.Set("Message-Id", messageID(msg)) h.Set("Message-Id", fmt.Sprintf("<%s>", messageID(msg)))
return h.Header return h.Header
} }