• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Horde: enable inline HTML in email | Any way to make changes persistent?

MSZ

New Pleskian
I would like to see inline HTML in emails viewed in Horde.

To get this, it is required to make changes to 2 files:

/usr/share/psa-horde/imp/config/mime_drivers.php
and
/usr/share/psa-horde/config/mime_drivers.php

In these files the ‘inline‘ setting under the ‘html‘ key hast to be set from false to true...
(see also here: https://www.systemcamp.com/how-to-enable-inline-html-email-in-horde-on-plesk-odin/)

Now the problem: almost every Plesk update overwrites this changes, making manual adjustment necessary again.

Any chance for Plesk to have an option in the GUI (or elsewhere) to make this setting persistent?
 
Thanks @IgorG for some reason I didnt see this in the search results o_O

Will try it out and revert if it is not working.
 
Hi @IgorG, that was a partially correct answer of mine. My notes say this:

Create the mime_drivers.local.php files:

# cp -a /usr/share/psa-horde/config/mime_drivers{,.local}.php
# cp -a /usr/share/psa-horde/imp/config/mime_drivers{,.local}.php

Set the 'inline' parameter from false to true:

# sed -i.backup "s/'inline' => false,/'inline' => true,/g" /usr/share/psa-horde/imp/config/mime_drivers.local.php
# sed -i.backup "s/'inline' => false,/'inline' => true,/g" /usr/share/psa-horde/config/mime_drivers.local.php
 
Hi @IgorG, that was a partially correct answer of mine. My notes say this:

Create the mime_drivers.local.php files:

# cp -a /usr/share/psa-horde/config/mime_drivers{,.local}.php
# cp -a /usr/share/psa-horde/imp/config/mime_drivers{,.local}.php

Set the 'inline' parameter from false to true:

# sed -i.backup "s/'inline' => false,/'inline' => true,/g" /usr/share/psa-horde/imp/config/mime_drivers.local.php
# sed -i.backup "s/'inline' => false,/'inline' => true,/g" /usr/share/psa-horde/config/mime_drivers.local.php

I am impressed.
Thx for this.
Also makes sense to create a .local file in both folders (other than in the initial linked partial answer).

Have implemented this now and will revert if it doesnt work.
 
I've tried
Hi @IgorG, that was a partially correct answer of mine. My notes say this:

Create the mime_drivers.local.php files:

# cp -a /usr/share/psa-horde/config/mime_drivers{,.local}.php
# cp -a /usr/share/psa-horde/imp/config/mime_drivers{,.local}.php

Set the 'inline' parameter from false to true:

# sed -i.backup "s/'inline' => false,/'inline' => true,/g" /usr/share/psa-horde/imp/config/mime_drivers.local.php
# sed -i.backup "s/'inline' => false,/'inline' => true,/g" /usr/share/psa-horde/config/mime_drivers.local.php
I've tried this but am getting this message when trying to view emails.

A fatal error has occurred​

"imp_Mime_Viewer_Default" driver (for Horde_Mime_Viewer not found).​

 
I changed today from RoundCube to Horde since there this one comes with a calender.
I sent one test mail and saw this waterboarding for the eyes.

We have 2022!
Is there any reason why I have to crawl a whole day through boards like this and being hunted back to command lines???

Why isn't this everyday property a default since a decade?
... and for the pure elm guys one radio button please?

Thanks to the helpers but honestly shame on the developer for this day in the museum. This is how open source smashes acceptance.
 
Back
Top