summaryrefslogtreecommitdiff
path: root/email
diff options
context:
space:
mode:
Diffstat (limited to 'email')
-rw-r--r--email/email.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/email/email.scm b/email/email.scm
index 20bf291..752c941 100644
--- a/email/email.scm
+++ b/email/email.scm
@@ -812,6 +812,8 @@ list of header keys and values."
(content . ,post-process-content-type)
(encoding . ,post-process-content-transfer-encoding)
(disposition . ,post-process-content-disposition)
+ (subject . ,(match-lambda* (`(subject ,subject)
+ `(subject ,(decode-mime-encoded-word subject)))))
(fields . ,(lambda (_ . fields)
(add-default-headers
(filter-map (match-lambda