summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-09 14:49:04 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-09 14:49:04 +0100
commitee0a5b4487017fbb580ce87e8e69ba2e73875896 (patch)
treec2676f0f2268f2d5b501e02fecd44f6a141e0359
parentc59e6fcb4649436427cdecb14b2bfb12e1a143b0 (diff)
downloadpykolab-ee0a5b4487017fbb580ce87e8e69ba2e73875896.tar.gz
Make sure events hold the required X-Kolab-MIME-Version: 3.0 header
-rw-r--r--pykolab/xml/event.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pykolab/xml/event.py b/pykolab/xml/event.py
index 97a0511..686039b 100644
--- a/pykolab/xml/event.py
+++ b/pykolab/xml/event.py
@@ -872,6 +872,7 @@ class Event(object):
msg['To'] = ', '.join([x.__str__() for x in self.get_attendees()])
msg['Date'] = formatdate(localtime=True)
+ msg.add_header('X-Kolab-MIME-Version', '3.0')
msg.add_header('X-Kolab-Type', 'application/x-vnd.kolab.event')
text = utils.multiline_message("""