summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-09-14 08:40:51 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-09-14 08:40:51 +0000
commit282205682de963062c9ebb728d74215af2ff00a4 (patch)
tree7beb9ef0fd3587832410eea69c5b648d8193514d /roundcubemail/program/steps/mail/sendmail.inc
parent138dd8ede15914e16ceec0b230c1eb30c2371455 (diff)
- Fix format=flowed handling (#1486989) + small improvements in plain messages parsing
git-svn-id: https://svn.roundcube.net/trunk@3962 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/sendmail.inc')
-rw-r--r--roundcubemail/program/steps/mail/sendmail.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc
index 23ff571b2..3902b9ad3 100644
--- a/roundcubemail/program/steps/mail/sendmail.inc
+++ b/roundcubemail/program/steps/mail/sendmail.inc
@@ -461,9 +461,9 @@ else {
$message_body = $plugin['body'];
- // compose format=flowed content if enabled and not a reply message
- if (empty($_SESSION['compose']['reply_msgid']) && ($flowed = $RCMAIL->config->get('send_format_flowed', true)))
- $message_body = rcube_message::format_flowed($message_body, $LINE_LENGTH);
+ // compose format=flowed content if enabled
+ if ($flowed = $RCMAIL->config->get('send_format_flowed', true))
+ $message_body = rcube_message::format_flowed($message_body, min($LINE_LENGTH+2, 79));
else
$message_body = rc_wordwrap($message_body, $LINE_LENGTH, "\r\n");