Set Message-Id header
This commit is contained in:
parent
ae9e70b5ad
commit
456d183ebc
1 changed files with 2 additions and 1 deletions
|
@ -138,7 +138,8 @@ func (msg *OutgoingMessage) WriteTo(w io.Writer) error {
|
|||
if msg.InReplyTo != "" {
|
||||
h.Set("In-Reply-To", msg.InReplyTo)
|
||||
}
|
||||
// TODO: set Message-ID
|
||||
|
||||
h.Set("Message-Id", mail.GenerateMessageID())
|
||||
|
||||
mw, err := mail.CreateWriter(w, h)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue