[imp] IMP displays both Plaintext and HTML

Jens Pranaitis pranaitis at phil.hhu.de
Wed Aug 29 10:18:22 UTC 2012


>> Any other suggestions to fix this problem? This is kind of a show
>> stopper for us. We'll probably have to delay our migration to Horde 4
>> if we can't find out whether this is a bug or some misconfiguration on
>> our side.
>
> If the message format is correct, then your IMAP server is returning
> invalid data. If you can provide a message source of such a message, and
> an IMAP log of loading such a message, we could maybe tell you more.

Sure, I've attached a sample HTML message generated by Horde4 and the 
IMAP log of the message. I removed stuff from the IMAP which seemed to 
be related to other private messages, if you need the complete log I can 
send it to you privately.
-- 
IKM-Serviceteam der Philosophischen Fakultät
HHU Düsseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imap-html-txt-transaction.log
Type: text/x-log
Size: 7194 bytes
Desc: not available
URL: <http://lists.horde.org/archives/imp/attachments/20120829/a6f672ac/attachment.bin>
-------------- next part --------------
Return-Path: <pranaitis at phil-fak.uni-duesseldorf.de>
Received: from smtp2.phil-fak.uni-duesseldorf.de (smtp2.phil-fak.uni-duesseldorf.de [134.99.24.106])
	 by sokrates (Cyrus v2.4.16) with LMTPA;
	 Wed, 29 Aug 2012 12:01:13 +0200
X-Sieve: CMU Sieve 2.4
Received: from smtp2.phil-fak.uni-duesseldorf.de (localhost [127.0.0.1])
	by smtp2.phil-fak.uni-duesseldorf.de (Postfix) with ESMTP id B683320091
	for <pranaitis at phil.hhu.de>; Wed, 29 Aug 2012 11:59:40 +0200 (CEST)
X-DKIM: OpenDKIM Filter v2.0.1 smtp2.phil-fak.uni-duesseldorf.de B683320091
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;
	d=phil-fak.uni-duesseldorf.de; s=mail-out; t=1346234380;
	bh=G8MkwPyRCBIWKeJuRrJdmAC0Sz+cy6+KdAUEXH4LDhg=;
	h=Date:Message-ID:From:To:Subject:Content-Type:MIME-Version;
	b=kN7Nv1qx/cO/UblFmqA4ed2ZPztXa13Gule2MVZFRyiI/muhyCY4kPkLaFEhPhH1i
	 72W+5n5WHO1yWS9KLAIUHjhsu6MkR7dnCIE2yLHpZcKwwcu9/xXa2lWI/87rbRSGyr
	 /J5lkU4ZUiQEivr/pjovWZR9K7KnjJa/8pZjUl+E=
Received: from localhost (webmail2.phil-fak.uni-duesseldorf.de [134.99.24.101])
	by smtp2.phil-fak.uni-duesseldorf.de (Postfix) with ESMTPA id 91C0320090
	for <pranaitis at phil.hhu.de>; Wed, 29 Aug 2012 11:59:40 +0200 (CEST)
Received: from sna-lnx3.phil-fak.uni-duesseldorf.de
 (sna-lnx3.phil-fak.uni-duesseldorf.de [134.99.58.10]) by
 webmail2.phil-fak.uni-duesseldorf.de (Horde Framework) with HTTP; Wed, 29
 Aug 2012 12:01:13 +0200
Date: Wed, 29 Aug 2012 12:01:13 +0200
Message-ID: <20120829120113.Horde.emKOee0spPtQPehpjkFgqAA at webmail2.phil-fak.uni-duesseldorf.de>
From: Jens Pranaitis <pranaitis at phil-fak.uni-duesseldorf.de>
To: pranaitis at phil.hhu.de
Subject: this is a html sample message
User-Agent: Internet Messaging Program (IMP) H4 (5.0.23)
Content-Type: multipart/alternative; boundary="=_G5O9Bu0spPtQPehpjiMQqAA"
MIME-Version: 1.0
X-Virus-Scanned: ClamAV using ClamSMTP

This message is in MIME format.

--=_G5O9Bu0spPtQPehpjiMQqAA
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes
Content-Description: Plaintext Message
Content-Disposition: inline

Hey,
this is just a test.

--=_G5O9Bu0spPtQPehpjiMQqAA
Content-Type: text/html; charset=ISO-8859-1
Content-Description: HTML Message
Content-Disposition: inline

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body style="font-family:Arial;font-size:14px">
<p><br>
Hey,<br>
this is just a test.</p>
</body>
</html>
--=_G5O9Bu0spPtQPehpjiMQqAA--


More information about the imp mailing list