summaryrefslogtreecommitdiffstats
path: root/libraries/libvmime-zarafa/zarafa-patches/vmime-remove-bcc.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libvmime-zarafa/zarafa-patches/vmime-remove-bcc.diff')
-rw-r--r--libraries/libvmime-zarafa/zarafa-patches/vmime-remove-bcc.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/libvmime-zarafa/zarafa-patches/vmime-remove-bcc.diff b/libraries/libvmime-zarafa/zarafa-patches/vmime-remove-bcc.diff
new file mode 100644
index 0000000000..b7535a3669
--- /dev/null
+++ b/libraries/libvmime-zarafa/zarafa-patches/vmime-remove-bcc.diff
@@ -0,0 +1,17 @@
+--- libvmime-0.7.1-pristine/src/messaging/transport.cpp 2005-04-27 18:42:58.000000000 +0200
++++ libvmime-0.7.1/src/messaging/transport.cpp 2006-10-10 14:01:43.602621328 +0200
+@@ -90,6 +90,14 @@
+ }
+ catch (exceptions::no_such_field&) { }
+
++ // Remove BCC headers from the message we're about to send
++ try {
++ headerField* bcc = msg->getHeader()->findField(fields::BCC);
++
++ msg->getHeader()->removeField(bcc);
++ }
++ catch (exceptions::no_such_field&) { }
++
+ // Generate the message, "stream" it and delegate the sending
+ // to the generic send() function.
+ std::ostringstream oss;