summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_mail_mime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_mail_mime.php b/program/include/rcube_mail_mime.php
index f59354fea..ab93d3a70 100644
--- a/program/include/rcube_mail_mime.php
+++ b/program/include/rcube_mail_mime.php
@@ -180,7 +180,7 @@ class rcube_mail_mime extends Mail_mime
}
}
- $input[$hdr_name] = $hdr_value;
+ $input[$hdr_name] = wordwrap($hdr_value, 990, "\n", true); // hard limit header length
}
return $input;