summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-09 13:49:04 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-09 13:49:30 (GMT)
commitfa65938b3b1e8efac5a01987fce44eae20a1079c (patch)
treeb7d8bc143b52ac89775303f70108d1fcdba89050
parent84f8fc974e7847ab325fbefa40041d97fe5cc216 (diff)
downloadpykolab-fa65938b3b1e8efac5a01987fce44eae20a1079c.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 b92339a..80cee77 100644
--- a/pykolab/xml/event.py
+++ b/pykolab/xml/event.py
@@ -799,6 +799,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("""