Problems reading mail with HTML/Rich Text from Hotmail

Birthe Randrup randrup@ruc.dk
Mon, 8 Apr 2002 14:30:46 +0200


Hi there,

We are having problems reading the body text of emails sent from 
Hotmail using the HTML/Rich Text Editor. (Message header contains 
Content-Type: text/html). In our current Imp installation, version 
2.2.6, we only see the body text if we Reply to the message or show 
the source of the mail. Letters from Hotmail using Content-Type: 
text/plain, we have no problems with

Is this a known problem, and do you have any suggestions for a solution?

Kind regards,
Birthe Randrup
Computer Science
Roskilde University


Example of letter from Hotmail using Rich Text Editor, which text we 
can't see when we open the letter, except when we reply to it:


Received: from /var/simeon/sms/run/lmtpd by wiggum with LMTP; Mon, 08 
Apr 2002 10:44:18 +0200
Return-Path: <finndorph@hotmail.com>
Received: from smtp1.ruc.dk (smtp1.ruc.dk [130.225.220.160])
	by wiggum.ruc.dk (2.1.2/8.9.1/Execmail 2.1) with ESMTP id KAA04096;
	Mon, 8 Apr 2002 10:44:18 +0200 (MET DST)
Received: by smtp1.ruc.dk (Postfix, from userid 504)
	id 010CF5676D7; Mon,  8 Apr 2002 10:44:10 +0200 (CEST)
Received: from hotmail.com (f153.pav1.hotmail.com [64.4.31.153])
	by smtp1.ruc.dk (Postfix) with ESMTP
	id EB6235676D0; Mon,  8 Apr 2002 10:44:04 +0200 (CEST)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Mon, 8 Apr 2002 01:44:06 -0700
Received: from 130.226.198.128 by pv1fd.pav1.hotmail.msn.com with HTTP;
	Mon, 08 Apr 2002 08:44:06 GMT
X-Originating-IP: [130.226.198.128]
From: "Finn Dorph" <finndorph@hotmail.com>
To: finnd@ruc.dk, randrup@ruc.dk
Subject: HTML/Rich text fra Hotmail
Date: Mon, 08 Apr 2002 10:44:06 +0200
Mime-Version: 1.0
Content-Type: text/html
Message-ID: <F153OYXUkzni5rWqBsJ000043e3@hotmail.com>
X-OriginalArrivalTime: 08 Apr 2002 08:44:06.0526 (UTC) 
FILETIME=[8B0D51E0:01C1DED9]
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by wiggum.ruc.dk 
id KAA04096


<html><div style=3D'background-color:'><DIV><STRONG>Hej Birthe</STRONG></=
DIV>
<DIV>&nbsp;</DIV>
<OL>
<LI>S=E5 lykkes det</LI>
<LI>Nu var Rich Text punktet med i menuen,</LI></OL>
<UL>
<LI>Da jeg pr=F8vet fra Gissursj <U><EM><STRONG>windows</STRONG></EM></U>=
  maskine</LI>
<LI><IMG height=3D12 src=3D"http://graphics.hotmail.com/emsmilep.gif" wid=
th=3D12></LI></UL>
<P align=3Dcenter>Hilsen</P>
<P align=3Dcenter>Finn</P></div><br clear=3Dall><hr>Join the world=92s la=
rgest e-mail service with MSN Hotmail. <a href=3D'http://g.msn.com/1HM502=
401/13'>Click Here</a><br></html>




>From marcus@riboflavin.net Date: Mon,  8 Apr 2002 09:41:43 -0500
Return-Path: <marcus@riboflavin.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 56087 invoked from network); 8 Apr 2002 14:41:25 -0000
Received: from dsl.75.91.networkiowa.com (HELO www.riboflavin.net) (209.234.75.91)
  by clark.horde.org with SMTP; 8 Apr 2002 14:41:25 -0000
Received: (from www@localhost)
	by www.riboflavin.net (8.11.6/8.11.6) id g38EfhX93438
	for imp@lists.horde.org; Mon, 8 Apr 2002 09:41:43 -0500 (CDT)
	(envelope-from marcus@riboflavin.net)
X-Authentication-Warning: www.riboflavin.net: www set sender to marcus@riboflavin.net using -f
Received: from 165.206.209.230 ( [165.206.209.230])
	as user marcus@localhost by imp.riboflavin.net with HTTP;
	Mon,  8 Apr 2002 09:41:43 -0500
Message-ID: <1018276903.3cb1ac27b1f78@imp.riboflavin.net>
Date: Mon,  8 Apr 2002 09:41:43 -0500
From: "Marcus I. Ryan" <marcus@riboflavin.net>
To: imp@lists.horde.org
References: <1018183469.3cb03f2dc680a@www.justatest.com>
In-Reply-To: <1018183469.3cb03f2dc680a@www.justatest.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: 165.206.209.230
Subject: Re: [imp] Address Book: Error Msg

I haven't seen it, but looking at the code, do you have any address
books defined?  Is Turba installed?

Quoting John-Paul Delaney <jp@justatest.com>:

> 
> Hello List...
> 
> On compose, clicking on Address Book gives me the addressbook window
> but with 
> an error:
>    Uninitialized string Offset: 0 in 
> <b>/var/www/html/horde/imp/templates/contacts/contacts.inc</b> on
> line 
> <b>41</b><br>
> 
> Has anyone else had this?
> 
> thanks
> /j-p.
> 
> --------------------
> JUSTATEST Art Online
> www.justatest.com
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 


-- 
Marcus I. Ryan, marcus@riboflavin.net
-----------------------------------------------------------------------
 "Love is a snowmobile racing across the tundra and then suddenly it
 flips over, pinning you underneath.  At night, the ice weasels come."
                 -- Matt Groening
-----------------------------------------------------------------------


>From eric.rostetter@physics.utexas.edu Date: Mon,  8 Apr 2002 09:46:16 -0500
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 57165 invoked from network); 8 Apr 2002 14:45:57 -0000
Received: from pcgxmt1.ph.utexas.edu (root@128.83.114.121)
  by clark.horde.org with SMTP; 8 Apr 2002 14:45:57 -0000
Received: (from httpd@localhost)
	by pcgxmt1.ph.utexas.edu (8.9.3/8.9.3) id JAA12312
	for imp@lists.horde.org; Mon, 8 Apr 2002 09:46:16 -0500
Received: from 128.83.155.179 ( [128.83.155.179])
	as user ericr@mail.ph.utexas.edu by mail.ph.utexas.edu with HTTP;
	Mon,  8 Apr 2002 09:46:16 -0500
Message-ID: <1018277176.3cb1ad389eb21@mail.ph.utexas.edu>
Date: Mon,  8 Apr 2002 09:46:16 -0500
From: Eric Rostetter <eric.rostetter@physics.utexas.edu>
To: imp@lists.horde.org
References: <1017853241.3cab35391adc0@mail.ph.utexas.edu> <1017943914.3cac976a39a51@marina.horde.org> <1017957210.3caccb5acf866@mail.ph.utexas.edu> <1018224528.3cb0df90925e0@marina.horde.org>
In-Reply-To: <1018224528.3cb0df90925e0@marina.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: Re: [imp] text/enriched viewer

Quoting Chuck Hagenbuch <chuck@horde.org>:

> I used a lookbehind assertion instead, and that seems to work just fine. 
> Try what I committed this time. :)
> 
> -chuck

Okay, it is much better, but still not quite right.  Check
out my new version at:

https://mail.ph.utexas.edu/patches/misc/enriched.php.txt
and
https://mail.ph.utexas.edu/patches/misc/enriched.diff

Very small changes to make it work right.  Basically fix
the << stuff, and make the color command take hex instead
of decimal digits. I only tested on 3 messages, but it seems
to be correct on all three (and the version in CVS fails
on 2 of the 3).

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

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