summaryrefslogtreecommitdiff
path: root/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-05-20 21:47:19 +0000
committerthomascube <thomas@roundcube.net>2010-05-20 21:47:19 +0000
commitdffcaa59db930408b9f07a300ba67a7933d2eab0 (patch)
tree0f58771c6ccb420e7f90b967c450e8d8b3f4539a /program/steps/mail/sendmail.inc
parentc769c6699f50cf834aa004fb3d1f4fa5ff966c7c (diff)
No need for the padding since quoted lines are not wrapped at all
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 774119dcd..2576a66b5 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -448,7 +448,7 @@ else {
if (empty($_SESSION['compose']['reply_msgid']) && ($flowed = $RCMAIL->config->get('send_format_flowed', true)))
$message_body = rcube_message::format_flowed($message_body, $LINE_LENGTH);
else
- $message_body = rc_wordwrap($message_body, min(79, $LINE_LENGTH + 8), "\r\n"); // +8: be generous with quoted lines
+ $message_body = rc_wordwrap($message_body, $LINE_LENGTH, "\r\n");
$message_body = wordwrap($message_body, 998, "\r\n", true);
if (!strlen($message_body)) {