Viewing vCalendar objects in IMP

Ema Nymton e_nymton@hotmail.com
Wed, 3 Apr 2002 17:41:10 +0200


Is it possible to view vCalendar objects like vCard objects in IMP ? Because
browsing with IMAP the directory called "Calendar" (stored on a MS Exchange
2000), and opening the source of a the "pseudo-mail" which is the effective
appointment, I can see something like this :

[...]
content-class: urn:content-classes:appointment
Content-Type: text/calendar;
method=REQUEST;
charset="utf-8"
Content-Transfer-Encoding: 8bit

BEGIN:VCALENDAR
[...]
END:VCALENDAR
[...]

So I suppose if IMP could handle the type text/calendar, we could display
this object "inline" in IMP.

Am I true ? Has someone already worked this way ?



>From chuck@horde.org Date: Wed,  3 Apr 2002 10:50:14 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 86549 invoked from network); 3 Apr 2002 15:51:23 -0000
Received: from h00104bc60b3c.ne.client2.attbi.com (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 3 Apr 2002 15:51:23 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 41EFC3CD2; Wed,  3 Apr 2002 10:50:14 -0500 (EST)
Received: from 192.168.0.136 ( [192.168.0.136])
	as user chuck@localhost by marina.horde.org with HTTP;
	Wed,  3 Apr 2002 10:50:14 -0500
Message-ID: <1017849014.3cab24b616d0e@marina.horde.org>
Date: Wed,  3 Apr 2002 10:50:14 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <DAV71WF4Cp5urh0xEKN00008bc6@hotmail.com>
In-Reply-To: <DAV71WF4Cp5urh0xEKN00008bc6@hotmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Re: [imp] Viewing vCalendar objects in IMP

Quoting Ema Nymton <e_nymton@hotmail.com>:

> Is it possible to view vCalendar objects like vCard objects in IMP ?
> Because browsing with IMAP the directory called "Calendar" (stored on a 
> MS Exchange 2000), and opening the source of a the "pseudo-mail" which 
> is the effective appointment, I can see something like this :

Not currently. If we get a MIME_Viewer driver for it, it'll be possible, 
though.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan


>From eric.rostetter@physics.utexas.edu Date: Wed,  3 Apr 2002 10:01:58 -0600
Return-Path: <eric.rostetter@physics.utexas.edu>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 87911 invoked from network); 3 Apr 2002 16:01:53 -0000
Received: from pcgxmt1.ph.utexas.edu (root@128.83.114.121)
  by clark.horde.org with SMTP; 3 Apr 2002 16:01:53 -0000
Received: (from httpd@localhost)
	by pcgxmt1.ph.utexas.edu (8.9.3/8.9.3) id KAA28740;
	Wed, 3 Apr 2002 10:01:58 -0600
Received: from 128.83.155.179 ( [128.83.155.179])
	as user ericr@mail.ph.utexas.edu by mail.ph.utexas.edu with HTTP;
	Wed,  3 Apr 2002 10:01:58 -0600
Message-ID: <1017849718.3cab27765f385@mail.ph.utexas.edu>
Date: Wed,  3 Apr 2002 10:01:58 -0600
From: Eric Rostetter <eric.rostetter@physics.utexas.edu>
To: imp@lists.horde.org
Cc: lkhanna@hughes-ecomm.com
References: <1017814124.3caa9c6c26b94@221.171.85.8>
In-Reply-To: <1017814124.3caa9c6c26b94@221.171.85.8>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
X-Originating-IP: 128.83.155.179
Subject: Re: [imp] password change for multiple realms

Quoting Lokesh Khanna <lkhanna@hughes-ecomm.com>:

> running on all the servers. but i am unable to modify passwd/config/conf.php 
> file for multiple realms, can u pl help me in doing that.
> Below is my servers.php file

[edited for compactness below]

> $servers['IT'] = array(
>     'name' => 'Hughes( Local )',
>     'server' => '221.171.85.8',
>     'maildomain' => 'hughes-escorts.com',
>     'smtphost' => '221.171.85.12',
>     'realm' => 'hughes-escorts.com',
> 
> $servers['Qmail'] = array(
>     'name' => 'SpaceWeb',
>     'server' => '221.171.85.12',
>     'maildomain' => 'hughes-ecomm.com',
>     'smtphost' => '221.171.85.12',
>     'realm' => 'hughes-ecomm.com',
>
> My horde/passwd/config/conf.php file is below
> 
>
> $conf['server']['default'] = array(host => 'localhost', port => 106);


Leave that as is (for the default case).
 
> //$conf['server']['astro.utexas.edu'] =
> //      array(host => 'mail.as.utexas.edu', port => 106);
> 

Change that to something like:

$conf['server']['hughes-escorts.com'] =
     array(host => '221.171.85.8', port => 106);
$conf['server']['hughes-ecomm.com'] =
     array(host => '221.171.85.12', port => 106);

And it should work.  If it doesn't contact me via private email so
we can has out the details.

-- 
Eric Rostetter
eric.rostetter@physics.utexas.edu

Hey Rocky!  Watch me pull a rabbit from my hat!


>From eric.rostetter@physics.utexas.edu Date: Wed,  3 Apr 2002 11:00:41 -0600
Return-Path: <eric.rostetter@physics.utexas.edu>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 90168 invoked from network); 3 Apr 2002 17:00:26 -0000
Received: from pcgxmt1.ph.utexas.edu (root@128.83.114.121)
  by clark.horde.org with SMTP; 3 Apr 2002 17:00:26 -0000
Received: (from httpd@localhost)
	by pcgxmt1.ph.utexas.edu (8.9.3/8.9.3) id LAA02128
	for imp@lists.horde.org; Wed, 3 Apr 2002 11:00:41 -0600
Received: from 128.83.155.179 ( [128.83.155.179])
	as user ericr@mail.ph.utexas.edu by mail.ph.utexas.edu with HTTP;
	Wed,  3 Apr 2002 11:00:41 -0600
Message-ID: <1017853241.3cab35391adc0@mail.ph.utexas.edu>
Date: Wed,  3 Apr 2002 11:00:41 -0600
From: Eric Rostetter <eric.rostetter@physics.utexas.edu>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
X-Originating-IP: 128.83.155.179
Subject: text/enriched viewer

In the last couple days, I received about 10 messages in text/enriched
format.  Not sure why I'm getting so many messages in this obscure
format, but none-the-less I am...  Didn't like that they didn't show
in-line, so I took my luck at a quick first pass at a viewer for it
(horde/imp/lib/MIME/Viewer/enriched.php).  Not great, but it works,
and is a starting point for further development.

I've posted it at https://mail.ph.utexas.edu/patches/misc/enriched.php.txt
(the .txt is so that you can grab the source, rather than it running on
my server). 

If anyone wants to comment on it, improve it, use it, etc. then feel free.
It is, like I say, a quick first attempt, and isn't 100% RFC compliant
(see the comments in the file for more info) but it sure makes my life
easier now.  It is my first attempt at an IMP mime viewer, so I don't
guarantee that it doesn't do stupid things, but like I said it seems
to work for me.

-- 
Eric Rostetter
eric.rostetter@physics.utexas.edu

Hey Rocky!  Watch me pull a rabbit from my hat!