Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've got a colleague who keeps sending me attached calendar items from an MS Exchange server. Thunderbird and Mutt can't even see the attachment, but if I view the raw message source, it is there, encoded:

Content-Type: multipart/alternative;
    boundary="_002_80B708C9C67AE14BA396foo_"
MIME-Version: 1.0

--_002_80B708C9C67AE14BA396foo_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20
=20


--_002_80B708C9C67AE14BA396foo_
Content-Type: text/calendar; charset="utf-8"; method=REQUEST
Content-Transfer-Encoding: base64

I can run the text/calendar portion through base64 -d and read it just fine, but now I have an external text file that looks like ...

BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Eastern Standard Time
BEGIN:STANDARD
...

Obviously, this isn't my problem. Exchange is turning out poorly formatted email messages. Nonetheless, the nature of this exchange is such that my life will be muuuch easier if I can just figure out a reliable way to read these invites.

Is there a tool I can use to actually read the calendar file? There seem to be a few different date fields and I can't tell which is which. Is there an automated way to push the file to evolution?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You can install ThunderBird Lightning extension.

It installs a calendar tool inside ThunderBird, from which you can import *.ics attachments as appointments.
You can find the "Import" tool under the Lightning menu inside ThunderBird.
By the way, browsing Mozilla forums, I would say Lighting (and Sunbird) have no option to directly import calendar files ().

share|improve this answer
    
Part of the problem is that once it is decoded, what I have is an external file, not an attachment. I need a straightforward way to read the external calendar file. I don't see a way to import an external calendar item into lightning, unfortunately. –  Amanda May 23 '11 at 19:51
    
Lightning gives you the possibility to import external calendars. You can find the "Import" tool under the Lightning menu. By the way, are you looking for something to import calendars data into Thunderbird from command line/desktop environment? –  igi May 23 '11 at 21:51
    
I'm already in the command line, since I have to decode the base 64 content anyhow, so it'd be awesome to shove it into Lightning from the command line. Saving it and manually importing it into Lightning is an improvement over launching Evolution, though. –  Amanda May 24 '11 at 12:57
    
@Amanda, browsing Mozilla forums, I would say Lighting and Sunbird have no option to directly import calendar files (developer.mozilla.org/en/Command_Line_Options#Calendar). I'll update my answer. –  igi May 24 '11 at 18:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.