aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/smtp.go
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-01-24 20:07:29 +0100
committerSimon Ser <contact@emersion.fr>2020-01-24 20:07:29 +0100
commitd31c56ec98cd3f4fc5afbdd8f840538f3ee59429 (patch)
treeb9a3b97651a1bc6bda44d7f6e5f0824052433a6e /plugins/base/smtp.go
parent2e367efe58ea62ddf85552d68c757f2b6cba25ab (diff)
downloadalps-d31c56ec98cd3f4fc5afbdd8f840538f3ee59429.tar.gz
alps-d31c56ec98cd3f4fc5afbdd8f840538f3ee59429.zip
plugins/base: edit drafts
Note that attachments will be lost. This is a TODO.
Diffstat (limited to 'plugins/base/smtp.go')
-rw-r--r--plugins/base/smtp.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/base/smtp.go b/plugins/base/smtp.go
index 81da6ef..663283d 100644
--- a/plugins/base/smtp.go
+++ b/plugins/base/smtp.go
@@ -88,6 +88,7 @@ func (msg *OutgoingMessage) WriteTo(w io.Writer) error {
if msg.InReplyTo != "" {
h.Set("In-Reply-To", msg.InReplyTo)
}
+ // TODO: set Message-ID
mw, err := mail.CreateWriter(w, h)
if err != nil {