[kronolith] how to import *.ics calendar entries from a multipart mime email received with IMP into KRONOLITH
Christoph Haas
chhaas-ml at ukbw.de
Tue Mar 1 16:19:48 UTC 2016
Hello,
I am looking for a conveniant way for importing calendar-entries
(*.ics-files), that are part of a multipart-mime-email, out of IMP
into KRONOLITH. Since Google was not my friend, I have to ask here ...
When I click on the calendar-attachment, is just a window with the
plaintext VCALENDAR-entry shown, instead of import to KRONOLITH.
This is for example common with ticket-booking-emails from "Deutsche
Bahn", or other traveling services, airlines etc.
They attach a *.pdf-file with the ticket, an *.ics-file with the
traveling plan, a plaintext and a html text:
Subject: =?UTF-8?Q?Buchungsbest=C3=A4tigung_(Auftrag_ABC123)?=
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_1266891_1638770165.1456756571410"
------=_Part_1266891_1638770165.1456756571410
Content-Type: application/octet-stream; name=ABC123.pdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=ABCD123.pdf
[...]
------=_Part_1266891_1638770165.1456756571410
Content-Type: text/plain; charset=ISO8859-15;
name=BAHN_Fahrplan_20160301.ics
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=BAHN_Fahrplan_20160301.ics
BEGIN:VCALENDAR
X-LOTUS-CHARSET:UTF-8
VERSION:2.0
PRODID:http://www.bahn.de
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=3DYEARLY;INTERVAL=3D1;BYDAY=3D-1SU;BYMONTH=3D3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=3DYEARLY;INTERVAL=3D1;BYDAY=3D-1SU;BYMONTH=3D10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID:bahn20160301072200
CLASS:PUBLIC
SUMMARY:Stuttgart -> Karlsruhe
DTSTART;TZID=3DEurope/Berlin:20160301T072200
DTEND;TZID=3DEurope/Berlin:20160301T091500
DTSTAMP:20160229T153600Z
DESCRIPTION:Reise: Stuttgart nach Karlsruhe [...] www.bahn.de
END:VEVENT
END:VCALENDAR
------=_Part_1266891_1638770165.1456756571410
Content-Type: multipart/alternative;
boundary="----=_Part_1266892_1332390380.1456756571411"
------=_Part_1266892_1332390380.1456756571411
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
[...]
Sure I can save the *.ics-file to my harddisc and afterwards import
this file. But this is not really conveniant.
Is there a way to import the calendar-entry _directly_?
Thanks!
Christoph.
--
Christoph Haas
email: chhaas-ml at ukbw.de
More information about the kronolith
mailing list