summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-01 17:58:12 +0000
committerthomascube <thomas@roundcube.net>2009-05-01 17:58:12 +0000
commit762a699dc7a5d0e3971a4679f714b7fa8d8832cf (patch)
tree03a40a40fce5d59550de63faaf739e000080c32e /program/steps/mail
parentffa6c1011c2330c19038482aa7256790f5539380 (diff)
Hard-wrap message headers according to RFC
Diffstat (limited to 'program/steps/mail')
-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 34e2c0904..742322602 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -226,7 +226,7 @@ if (!empty($identity_arr['bcc']))
$headers['Bcc'] = ($headers['Bcc'] ? $headers['Bcc'].', ' : '') . $identity_arr['bcc'];
// add subject
-$headers['Subject'] = trim(get_input_value('_subject', RCUBE_INPUT_POST, FALSE, $message_charset));
+$headers['Subject'] = trim(get_input_value('_subject', RCUBE_INPUT_POST, TRUE, $message_charset));
if (!empty($identity_arr['organization']))
$headers['Organization'] = $identity_arr['organization'];