[horde] Showing html content on IMP
ggarnier@embratel.com.br
ggarnier at embratel.com.br
Thu Jul 28 05:37:25 PDT 2005
I´ve searched IMP archives and found some discussions about this.
I realized that I shouldn´t add "MIME-Version: 1.0" to a message header,
because it could be a not-MIME message. But what is a not-MIME message? A
plain-text message? I tried to add manually the "MIME-Version: 1.0" line to
plain-text messages, and I had no problem displaying them.
And also, if I get those html messages on another webmail (like Yahoo or
GMail), they are shown correctly. Would you say that those webmails aren´t
following MIME RFC´s?
Again, I realize that I shouldn´t modify a message, as it could be
not-MIME. But how can I explain this to my clients? I think the best to do
for me right now would be to add the MIME-Version header (probably a
temporary solution, but I need do solve this). Is there any way to do this?
Michael M Slusarz <slusarz at mail.curecanti.org>@lists.horde.org em
27/07/2005 22:02:42
Favor responder a slusarz at curecanti.org
Enviado Por: horde-bounces at lists.horde.org
Para: horde at lists.horde.org
cc:
Assunto: Re: [horde] Showing html content on IMP
Quoting ggarnier at embratel.com.br:
> 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');
This has been discussed on the lists before, but let me remind people
again that this is *not* a correct solution. (Since everyone seems to
discount the reason that the message may not contain a MIME-Version
header is because the message is not a MIME message!)
michael
_______________________________________
Michael Slusarz [slusarz at curecanti.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