1.1 --- a/imiptools/handlers/__init__.py Sun Oct 23 23:21:01 2016 +0200
1.2 +++ b/imiptools/handlers/__init__.py Mon Dec 19 23:39:20 2016 +0100
1.3 @@ -74,12 +74,20 @@
1.4
1.5 texts = []
1.6 texts.append(text)
1.7 +
1.8 + # Add a link to the manager application if available and requested.
1.9 +
1.10 if link and self.have_manager():
1.11 texts.append(_("If your mail program cannot handle this "
1.12 - "message, you may view the details here:\n\n%s") %
1.13 + "message, you may view the details here:\n\n%s\n") %
1.14 get_object_url(self.uid, self.recurrenceid))
1.15
1.16 - return self.add_result(None, None, MIMEText("\n".join(texts)))
1.17 + # Create the text part, tagging it with a header that allows this part
1.18 + # to be merged with other calendar information.
1.19 +
1.20 + text_part = MIMEText("\n\n".join(texts))
1.21 + text_part["X-IMIP-Agent"] = "info"
1.22 + return self.add_result(None, None, text_part)
1.23
1.24 # Result registration.
1.25