I am working on a roundcube project and in my project the user is not allowed to send a text email message. He is allowed to send only HTML email messages. Can anyone tell me where can I find a setting/plugin for achieving this functionality?

有帮助吗?

解决方案 2

in the roundcube config.inc.php, there is a setting variable called 'dont_override'. You have to pass an array of settings to this variable which the user cannot override. To disable the plain text message setting, all you have to do is pass the 'htmleditor' config setting as an array element to this variable, like this..

$rcmail_config['dont_override'] = array('htmleditor');

其他提示

Log in to ROundcube and go to settings -> composing mail.

You can select an HTML preference there

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top