Question
How do you change the Roundcube default message type to HTML or plain text?
Answer
When trying to add images or other rich content to messages, it becomes useful to enable the HTML editor; and when sending messages to older clients or over-active spam filters, plaintext messages are desirable. Changing the default can be done in RoundCube's settings.
This is also applicable if your signature contains images. The plaintext editor will strip these images from your signature.
- Log in to Roundcube
- Click the Settings icon
- Click Composing Messages
- Select your desired value from the Compose HTML Messages dropdown menu
- Click the ✓Save button
- Log in to the server via SSH as the
rootuser Open
/usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.phpin your preferred text editor:# nano
/usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.phpEdit the following line to your desired value:
CONFIG_TEXT: // 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'] = 1;- Save
Comments
0 comments
Article is closed for comments.