diff src/readpst.c @ 352:09dd5299d91c

Added Content-ID header support
author Igor Stroh <igor.stroh@rulim.de>
date Thu, 17 Dec 2015 12:03:44 +0100
parents 7a91e30826d8
children 843705c25b45
line wrap: on
line diff
--- a/src/readpst.c	Fri Sep 11 13:16:09 2015 -0700
+++ b/src/readpst.c	Thu Dec 17 12:03:44 2015 +0100
@@ -1190,6 +1190,10 @@
     }
     fprintf(f_output, "Content-Transfer-Encoding: base64\n");
 
+    if (attach->content_id.str) {
+        fprintf(f_output, "Content-ID: %s\n", attach->content_id.str);
+    }
+
     if (attach->filename2.str) {
         // use the long filename, converted to proper encoding if needed.
         // it is already utf8