[horde] Showing html content on IMP
ggarnier@embratel.com.br
ggarnier at embratel.com.br
Wed Jul 27 12:38:43 PDT 2005
I found out that html messages are always correctly shown when it has the
following line on the header:
"MIME-Version: 1.0"
which is required, according to MIME RFC. But sometimes I get messages
without it, and then IMP can´t show the message correctly.
I found out how can I force the messages to have that line on the header on
IMP 4.0.3, but it didn´t work. I added the following code:
$mv = $imp_headers->getValue('MIME-Version');
if ($mv === null)
$imp_headers->addHeader('MIME-Version', '1.0');
Also, I got an old instalation of IMP (3.2.4), and that doesn´t have
IMP_Headers and MIME_Header classes. Where can I insert MIME-Version line
in it?
Thanks for the help
ggarnier at embratel.com.br@lists.horde.org em 27/07/2005 08:30:02
Enviado Por: horde-bounces at lists.horde.org
Para: horde at lists.horde.org
cc:
Assunto: Re: [horde] Showing html content on IMP
I didn´t change mime_drivers.php.
I don´t know if the message has wrong mime type. On the mail header, I
found this line:
Content-type: text/html
And on html header (inside mail body):
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
I guess that is correct, right?
"Kosala Atapattu" <kosalaa at carcumb.com>@lists.horde.org em 27/07/2005
07:12:55
Enviado Por: horde-bounces at lists.horde.org
Para: "Jan Schneider" <jan at horde.org>, <horde at lists.horde.org>
cc:
Assunto: Re: [horde] Showing html content on IMP
Is it possible that some change in mime_drivers.php cause this type of
error.
Kosala
-----Original Message-----
From: Jan Schneider [mailto:jan at horde.org]
Sent: Wednesday, July 27, 2005 2:44 PM
To: horde at lists.horde.org
Subject: Re: [horde] Showing html content on IMP
Zitat von ggarnier at embratel.com.br:
> I´m new to Horde and IMP, and I´ve installed Horde 3.0.4 and IMP 4.0.3.
> When I get a message in html, sometimes IMP shows it correctly, and
> sometimes it shows the html code (it doesn´t interpret the code). I´ve
> realized that the html source code is shown when it´s in the message
body,
> not as an attachment. How can I configure IMP to always show html
messages
> correctly?
This only happens if the message (part) has an incorrect mime type set.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
--
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
More information about the horde
mailing list