How to enable Inline HTML message viewing for Horde.

By default HTML viewing message for Horde is disabled

To enable edit the following file

/usr/local/cpanel/base/horde/imp/config/mime_drivers.php

And change the following line

from

$mime_drivers['imp']['plain']['inline'] = false;

to

$mime_drivers['imp']['plain']['inline'] = true;

Syntaxis has been little bit changed, so now you need to update the following section in /usr/local/cpanel/base/horde/imp/config/mime_drivers.php file:

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

to

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

Restart cpanel, exim and relogin you email account

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

Enjoy!

Similar Posts:

2 comments on “How to enable Inline HTML message viewing for Horde.

  1. Hi, I am reading all of the posts about enabling inline HTML message viewing on Horde, but I don’t see where/how to edit the line that needs to be changed. Where/how do I access that? Thank you.

    1. Hi there, indeed syntaxis of /usr/local/cpanel/base/horde/imp/config/mime_drivers.php file has been changed since. So I went ahead and updated the post. Please check it now. PS, as far you know you need to have a root access to your server to apply the changes

Leave a Reply to admin Cancel reply

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