summaryrefslogtreecommitdiff
path: root/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-02 13:08:12 +0000
committeralecpl <alec@alec.pl>2010-03-02 13:08:12 +0000
commit47ad83f337c9eeb4bc53afb85a71cf90a8a34106 (patch)
treebe27fe9e46d89f7035ce59359a84ede526c1ce9a /program/steps/mail/sendmail.inc
parentd5ffb58726237d81f167c7460ce4eabb4b768c51 (diff)
- Added force_7bit option to force MIME encoding of plain/text messages (#1486510)
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r--program/steps/mail/sendmail.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index 6691e000c..134664b85 100644
--- a/program/steps/mail/sendmail.inc
+++ b/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';