summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-02 13:08:12 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-02 13:08:12 +0000
commit80f377e7228e8f95037126c65ad59816960b398d (patch)
tree6e381650a83313b2225c28ec91413b4e53d47c9e /roundcubemail/program/steps/mail
parent5cfadf686ba7ded1baf3fbd0f2991805edbf8805 (diff)
- Added force_7bit option to force MIME encoding of plain/text messages (#1486510)
git-svn-id: https://svn.roundcube.net/trunk@3301 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/sendmail.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc
index 6691e000c..134664b85 100644
--- a/roundcubemail/program/steps/mail/sendmail.inc
+++ b/roundcubemail/program/steps/mail/sendmail.inc
@@ -456,7 +456,7 @@ if (is_array($_SESSION['compose']['attachments']))
// choose transfer encoding for plain/text body
if (preg_match('/[^\x00-\x7F]/', $MAIL_MIME->getTXTBody()))
- $transfer_encoding = '8bit';
+ $transfer_encoding = $RCMAIL->config->get('force_7bit') ? 'quoted-printable' : '8bit';
else
$transfer_encoding = '7bit';