mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-22 02:41:50 +02:00
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:
parent
030d43d960
commit
20fe326cd5
@ -513,6 +513,12 @@ class egw_mailer extends Horde_Mime_Mail
|
|||||||
// no flowed for encrypted messages
|
// no flowed for encrypted messages
|
||||||
$flowed = $this->_body && $this->_body->getType() != 'multipart/encrypted';
|
$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
|
// handling of alternativ body
|
||||||
if (!empty($this->_alternativBody))
|
if (!empty($this->_alternativBody))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user