[horde] Showing html content on IMP

Michael M Slusarz slusarz at mail.curecanti.org
Wed Jul 27 18:02:42 PDT 2005


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]


More information about the horde mailing list