[imp] How do I add MIME types?

Chuck Hagenbuch chuck@horde.org
Mon, 19 Nov 2001 13:31:48 -0500


Quoting Jeff Tucker <jefft@wciatl.com>:

> I have a message with several parts. Among the parts are 
> message/delivery-status and text/rfc822-headers.
> 
> These parts cannot be viewed with the current IMP. How can I add these MIME
> types, so that they will be viewed inline in a message. I can see some 
> types, but not others. Also, I can click on a type message/rfc822 and it 
> will open in a new window correctly. Clicking on one of these other types 
> does not.

You edit either Horde or IMP's config/mime_drivers.php file. I just added these 
two types to IMP's mime_drivers.php.dist; suggestions for more types to handle 
like this would be welcome.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin