From 80f377e7228e8f95037126c65ad59816960b398d Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 2 Mar 2010 13:08:12 +0000 Subject: - 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 --- roundcubemail/program/steps/mail/sendmail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps/mail') 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'; -- cgit v1.2.3