[imp] HTML not displaying?
Eric Rostetter
eric.rostetter@physics.utexas.edu
Tue, 9 Jul 2002 16:02:59 -0500
Quoting Brad Dameron <bdameron@tscnet.com>:
> I did a search. But it won't let you search for the word "html". It seems to
> cut it out.
>From http://www.horde.org/faq/admin/print.php#c14
4.2.7 Can IMP show attachments or html inline?
IMP is capable of showing certain attachments inline (i.e., in the message body,
rather than appearing in a new window on request), but in some cases it risks
exposing the user to a security problem in the browser: by enabling inline HTML,
any javascript (ActiveX, Java, etc.) in the attachment will be executed by the
browser. Enabling inline HTML attachments is strongly discouraged.
[...]
[IMP 3.x]: Edit the file horde/imp/config/mime_drivers.php to enable inline
support for the mime types you wish to have displayed inline. Simply set the
'inline' array element for that mime type to 'true' to enable a type. As noted
above, not all mime types can be shown inline; if there is no 'inline' array
element for a mime type than that type can not be viewed inline.
For example, to enable inline html support you would set:
$mime_drivers['imp']['html']['inline'] = true;
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
"TAD (Technology Attachment Disorder) is an unshakable, impractical devotion
to a brand, platform, product line, or programming language. It's relatively
harmless among the rank and file, but when management is afflicted the damage
can be measured in dollars. It's also contagious -- someone with sufficient
political clout can infect an entire organization."
--"Enterprise Strategies" columnist Tom Yager.