Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
How to enable HTML mode for all email accounts ✉️ on Horde & RoundCube Webmail in cPanel - PC✗3
How to enable HTML mode for all email accounts ✉️ on Horde & RoundCube Webmail in cPanel

How to enable HTML mode for all email accounts ✉️ on Horde & RoundCube Webmail in cPanel

In both Horde and RoundCube the default mode for writting emails is plain text and not HTML.

To enable HTML we need to edit one file for each program.

RoundCube

For roundcube on cPanel the file to be edited is: /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php

Locate the following:

// compose html formatted messages by default
//  0 - never,
//  1 - always,
//  2 - on reply to HTML message,
//  3 - on forward or reply to HTML message
//  4 - always, except when replying to plain text message

$config['htmleditor'] = 0;

and change

$config['htmleditor'] = 0;

to

$config['htmleditor'] = 1;

This will result in the RoundCube Webmail to switch the writing mode from plain text to HTML:

RoundCube Webmail compose messages in plain text mode and with HTML enabledRoundCube Webmail compose messages in plain text mode and with HTML enabled
RoundCube Webmail compose messages in plain text mode and with HTML enabled

Horde

For Horde Webmail on cPanel the file to be edited in order to enable HTML mode while composing messages: /usr/local/cpanel/base/horde/imp/config/mime_drivers.php

In it locate the following file:

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

        'limit_inline_size' => 1048576,

        /* Check for phishing exploits? */
        'phishing_check' => true
    ),

You can change the following line:

 'inline' => false,


to:

 'inline' => true,

This will result in the Horde Webmail to switch the writing mode from plain text to HTML:

horde plain text - How to enable HTML mode for all email accounts ✉️ on Horde & RoundCube Webmail in cPanelhorde html - How to enable HTML mode for all email accounts ✉️ on Horde & RoundCube Webmail in cPanel
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.