How to enable Inline HTML display in Horde

cPanel’s Horde has “Inline HTML” is disabled by default

The error you probably got:

This message part contains HTML data, but inline HTML display is disabled.
View HTML data in new window.
Convert HTML data to plain text and view in new window.


cp -rp /usr/local/cpanel/base/horde/imp/config/mime_drivers.php /usr/local/cpanel/base/horde/imp/config/mime_drivers.php_old
vi /usr/local/cpanel/base/horde/imp/config/mime_drivers.php +47

Find and update line

        'inline' => false,
        'inline' => true,

Should looks as the following:

    /* HTML driver settings */
    'html' => array(
        /* NOTE: Inline HTML display is turned OFF by default. */
        'inline' => true,
        'handles' => array(

By default this is set to “false”, so your change will be overwritten after next cPanel update, so consider to append the following to get this enabled after every upcp

vi /usr/local/cpanel/scripts/postupcp

and append:

replace "'inline' => false," "'inline' => true," -- /usr/local/cpanel/base/horde/imp/config/mime_drivers.php

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *