allow to disable use of RFC3676 flowed lines in plain text mails, as some clients have trouble to detect correct charset

This commit is contained in:
Ralf Becker 2015-11-11 15:00:36 +00:00
parent 030d43d960
commit 20fe326cd5

View File

@ -513,6 +513,12 @@ class egw_mailer extends Horde_Mime_Mail
// no flowed for encrypted messages
$flowed = $this->_body && $this->_body->getType() != 'multipart/encrypted';
// check if flowed is disabled in mail site configuration
if (($config = config::read('mail')) && $config['disable_rfc3676_flowed'])
{
$flowed = false;
}
// handling of alternativ body
if (!empty($this->_alternativBody))
{